Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.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.0007404/0.0007404, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008089/0.0008089, allocations: 211.1 kB / 23.01 MB, free: 3.113 MB / 13.93 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.8721/0.8721, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.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.727/0.727, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [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.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor") [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.001185/0.001185, allocations: 63.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4801, allocations: 102 MB / 0.8191 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001394/0.4815, allocations: 0.6416 MB / 0.8197 GB, free: 24.81 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.4825, allocations: 1.232 MB / 0.8209 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.4826, allocations: 0 / 0.8209 GB, free: 23.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.4826, allocations: 9 kB / 0.8209 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.455e-05/0.4827, allocations: 16.5 kB / 0.8209 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.4832, allocations: 221.3 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.4834, allocations: 171.8 kB / 0.8213 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.939e-05/0.4835, allocations: 6.578 kB / 0.8213 GB, free: 23.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.4836, allocations: 70.64 kB / 0.8214 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.4837, allocations: 65.42 kB / 0.8215 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.4837, allocations: 15.53 kB / 0.8215 GB, free: 23.67 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.4838, allocations: 34.56 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.4838, allocations: 12.78 kB / 0.8215 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.4839, allocations: 56.33 kB / 0.8216 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001974/0.4841, allocations: 153.9 kB / 0.8217 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4841, allocations: 0 / 0.8217 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4841, allocations: 1.125 kB / 0.8217 GB, free: 23.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4841, allocations: 0 / 0.8217 GB, free: 23.58 MB / 0.6355 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.0003803/0.4845, allocations: 362.8 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4845, allocations: 10.38 kB / 0.8221 GB, free: 23.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.4845, allocations: 18.72 kB / 0.8221 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.913e-05/0.4846, allocations: 110.2 kB / 0.8222 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.4846, allocations: 10.16 kB / 0.8222 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.4846, allocations: 9.844 kB / 0.8222 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.4847, allocations: 51.89 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.4847, allocations: 1.094 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4847, allocations: 4.547 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4847, allocations: 1.188 kB / 0.8223 GB, free: 23.05 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.4848, allocations: 19.5 kB / 0.8223 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.4851, allocations: 333.4 kB / 0.8226 GB, free: 22.76 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.64e-05/0.4852, allocations: 38.33 kB / 0.8226 GB, free: 22.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.4852, allocations: 20.19 kB / 0.8227 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.4852, allocations: 0 / 0.8227 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.4853, allocations: 82.66 kB / 0.8227 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.4853, allocations: 3.984 kB / 0.8227 GB, free: 22.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001912/0.4855, allocations: 104.6 kB / 0.8228 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.4856, allocations: 58.06 kB / 0.8229 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.132e-05/0.4856, allocations: 119.8 kB / 0.823 GB, free: 22.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.4856, allocations: 30.75 kB / 0.823 GB, free: 22.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.401e-05/0.4857, allocations: 101.4 kB / 0.8231 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.135e-05/0.4857, allocations: 11.81 kB / 0.8232 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.4857, allocations: 52.89 kB / 0.8232 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.072e-05/0.4858, allocations: 318.6 kB / 0.8235 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.4859, allocations: 60.42 kB / 0.8236 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.486, allocations: 94.17 kB / 0.8237 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.4861, allocations: 157.1 kB / 0.8238 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4861, allocations: 4.438 kB / 0.8238 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002854/0.4864, allocations: 265.8 kB / 0.8241 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.4864, allocations: 68.62 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4864, allocations: 1.5 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.4865, allocations: 2.031 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.148e-05/0.4865, allocations: 3.453 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.4865, allocations: 2.25 kB / 0.8241 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4867, allocations: 59.44 kB / 0.8242 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.4867, allocations: 16.02 kB / 0.8242 GB, free: 21.49 MB / 0.6355 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,xor1.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 6.191e-05/0.4868, allocations: 124 kB / 0.8243 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.4868, allocations: 8 kB / 0.8243 GB, free: 21.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.4868, allocations: 14.02 kB / 0.8243 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4868, allocations: 5.062 kB / 0.8244 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4868, allocations: 0.5 kB / 0.8244 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4868, allocations: 1.094 kB / 0.8244 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.032e-05/0.4869, allocations: 158.9 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4869, allocations: 0.75 kB / 0.8245 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.4869, allocations: 5.875 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4869, allocations: 1.25 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.4869, allocations: 6.312 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.02e-07/0.4869, allocations: 0 / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4869, allocations: 0.9688 kB / 0.8245 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.4871, allocations: 112.8 kB / 0.8246 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-06/0.4871, allocations: 10.03 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.4871, allocations: 2.312 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.573e-05/0.4871, allocations: 1.625 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.4871, allocations: 7.172 kB / 0.8246 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.4871, allocations: 10.5 kB / 0.8247 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.4872, allocations: 90.2 kB / 0.8247 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4872, allocations: 0 / 0.8247 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001708/0.4873, allocations: 28.44 kB / 0.8248 GB, free: 20.99 MB / 0.6355 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,xor1.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 9.026e-05/0.4874, allocations: 108.6 kB / 0.8249 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4877, allocations: 221.4 kB / 0.8251 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4877, allocations: 0 / 0.8251 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.4877, allocations: 22.88 kB / 0.8251 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.4879, allocations: 13.91 kB / 0.8251 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.4881, allocations: 193.8 kB / 0.8253 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.4882, allocations: 0.6897 MB / 0.826 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.4882, allocations: 11.12 kB / 0.826 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.4882, allocations: 0 / 0.826 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of Templates: time 0.00242/0.4906, allocations: 1.4 MB / 0.8274 GB, free: 19.71 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.457520171068609] Failed to read output from testmodel.py, exit status != 0: 0.4973700859118253 0.504862007 0.018999569 Calling exit ...