Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006798/0.0006798, allocations: 76.45 kB / 19.91 MB, free: 12 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007591/0.0007591, allocations: 165.9 kB / 23.18 MB, free: 1.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8705/0.8705, allocations: 177.2 MB / 203.6 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7164/0.7164, allocations: 155 MB / 415 MB, free: 0.4922 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 76.75 kB / 0.6199 GB, free: 11.66 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4235, allocations: 102 MB / 0.7195 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.And): time 0.001456/0.425, allocations: 0.63 MB / 0.7201 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.4263, allocations: 1.214 MB / 0.7213 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.753e-05/0.4264, allocations: 0 / 0.7213 GB, free: 11.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.572e-05/0.4264, allocations: 3.938 kB / 0.7213 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.696e-05/0.4265, allocations: 15.92 kB / 0.7213 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.427, allocations: 213.9 kB / 0.7215 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.4273, allocations: 175.7 kB / 0.7217 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.4274, allocations: 11.94 kB / 0.7217 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.4275, allocations: 95.86 kB / 0.7218 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.4276, allocations: 63.78 kB / 0.7218 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.4276, allocations: 12 kB / 0.7219 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.914e-05/0.4277, allocations: 27.98 kB / 0.7219 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.4277, allocations: 7.984 kB / 0.7219 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.4278, allocations: 59.83 kB / 0.7219 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.4279, allocations: 183.5 kB / 0.7221 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.428, allocations: 0 / 0.7221 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/0.428, allocations: 0 / 0.7221 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.428, allocations: 7.938 kB / 0.7221 GB, free: 10.58 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003959/0.4284, allocations: 361.5 kB / 0.7225 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4284, allocations: 9.469 kB / 0.7225 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.644e-05/0.4284, allocations: 12.89 kB / 0.7225 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.4285, allocations: 118.5 kB / 0.7226 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4285, allocations: 4.375 kB / 0.7226 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.4286, allocations: 16.36 kB / 0.7226 GB, free: 10 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.073e-05/0.4286, allocations: 50.25 kB / 0.7227 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.4287, allocations: 192 / 0.7227 GB, free: 9.949 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.4287, allocations: 3.938 kB / 0.7227 GB, free: 9.945 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4287, allocations: 3.984 kB / 0.7227 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.4287, allocations: 19.94 kB / 0.7227 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.429, allocations: 272.5 kB / 0.723 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.871e-05/0.4291, allocations: 30.56 kB / 0.723 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.4291, allocations: 16.8 kB / 0.723 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.4291, allocations: 0 / 0.723 GB, free: 9.566 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.4293, allocations: 87.39 kB / 0.7231 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.4293, allocations: 0 / 0.7231 GB, free: 9.469 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0001964/0.4295, allocations: 97.62 kB / 0.7232 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.4295, allocations: 59.39 kB / 0.7232 GB, free: 9.297 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.406e-05/0.4296, allocations: 117.8 kB / 0.7234 GB, free: 9.172 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4296, allocations: 33.7 kB / 0.7234 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.4297, allocations: 92.09 kB / 0.7235 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.4297, allocations: 23.81 kB / 0.7235 GB, free: 9.016 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.4298, allocations: 54 kB / 0.7235 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.4298, allocations: 314.8 kB / 0.7238 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.43, allocations: 123.4 kB / 0.724 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.4301, allocations: 151.6 kB / 0.7241 GB, free: 8.332 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.4302, allocations: 171.5 kB / 0.7243 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4302, allocations: 0 / 0.7243 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003007/0.4305, allocations: 320.3 kB / 0.7246 GB, free: 7.793 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.4305, allocations: 67.39 kB / 0.7246 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4306, allocations: 0 / 0.7246 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.4306, allocations: 0 / 0.7246 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.711e-05/0.4306, allocations: 7.984 kB / 0.7247 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.4306, allocations: 3.938 kB / 0.7247 GB, free: 7.703 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4308, allocations: 59.95 kB / 0.7247 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.4308, allocations: 16 kB / 0.7247 GB, free: 7.629 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.415e-05/0.4309, allocations: 128.1 kB / 0.7249 GB, free: 7.496 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.4309, allocations: 7.953 kB / 0.7249 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.4309, allocations: 8.438 kB / 0.7249 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4309, allocations: 0 / 0.7249 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4309, allocations: 0 / 0.7249 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4309, allocations: 4 kB / 0.7249 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.77e-05/0.431, allocations: 125.2 kB / 0.725 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.431, allocations: 0 / 0.725 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-06/0.431, allocations: 0 / 0.725 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.431, allocations: 4 kB / 0.725 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.431, allocations: 0 / 0.725 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.431, allocations: 64 / 0.725 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.431, allocations: 7.938 kB / 0.725 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001085/0.4311, allocations: 118.2 kB / 0.7251 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.4311, allocations: 4 kB / 0.7251 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.4311, allocations: 96 / 0.7251 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.472e-05/0.4312, allocations: 7.938 kB / 0.7251 GB, free: 7.168 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.006e-05/0.4312, allocations: 11.98 kB / 0.7251 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.4312, allocations: 4 kB / 0.7251 GB, free: 7.152 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.4312, allocations: 91.27 kB / 0.7252 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.4312, allocations: 0 / 0.7252 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001565/0.4314, allocations: 31.94 kB / 0.7253 GB, free: 7.031 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.4315, allocations: 106.3 kB / 0.7254 GB, free: 6.922 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002422/0.4317, allocations: 274.3 kB / 0.7256 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4317, allocations: 8 kB / 0.7256 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.4318, allocations: 24.38 kB / 0.7257 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.4319, allocations: 20.08 kB / 0.7257 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.4322, allocations: 188.5 kB / 0.7259 GB, free: 6.344 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.479e-05/0.4323, allocations: 71.33 kB / 0.7259 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.4323, allocations: 12.5 kB / 0.7259 GB, free: 6.242 MB / 0.6042 GB Notification: Performance of SimCode: time 4.51e-07/0.4323, allocations: 4 kB / 0.7259 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of Templates: time 0.002183/0.4345, allocations: 1.406 MB / 0.7273 GB, free: 4.855 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.398306467104703] Failed to read output from testmodel.py, exit status != 0: 0.4411954670213163 0.448951136 0.019224902000000002 Calling exit ...