Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.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.0008091/0.0008091, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001412/0.001412, allocations: 223.7 kB / 22.26 MB, free: 3.703 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 1.024/1.024, allocations: 230.6 MB / 256 MB, free: 9.809 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.8097/0.8097, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [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.001532/0.001532, allocations: 69.05 kB / 0.7182 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5455/0.5471, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Or): time 0.001375/0.5485, allocations: 0.6492 MB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.5495, allocations: 1.231 MB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.5495, allocations: 0 / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.5495, allocations: 4.547 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.347e-05/0.5496, allocations: 9.25 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.5501, allocations: 221 kB / 0.8199 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.5503, allocations: 170.1 kB / 0.8201 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.5504, allocations: 12.91 kB / 0.8201 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.5505, allocations: 77.69 kB / 0.8202 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.5506, allocations: 53.75 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.5507, allocations: 14.81 kB / 0.8202 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.611e-05/0.5507, allocations: 34.72 kB / 0.8203 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.5507, allocations: 17.19 kB / 0.8203 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.929e-05/0.5508, allocations: 53.58 kB / 0.8203 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.551, allocations: 153.8 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.551, allocations: 0.8438 kB / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.551, allocations: 0 / 0.8205 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.551, allocations: 0 / 0.8205 GB, free: 15.61 MB / 0.6198 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.0004126/0.5514, allocations: 357.7 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5515, allocations: 11.34 kB / 0.8208 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.79e-05/0.5515, allocations: 31.83 kB / 0.8209 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.5516, allocations: 12.88 kB / 0.8209 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.5517, allocations: 120.8 kB / 0.821 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.5517, allocations: 7.156 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.5517, allocations: 13.16 kB / 0.821 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.5518, allocations: 43.7 kB / 0.8211 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.5518, allocations: 3.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5518, allocations: 0.7031 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5518, allocations: 3.938 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.747e-05/0.5519, allocations: 18.41 kB / 0.8211 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.5523, allocations: 333.6 kB / 0.8214 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.5524, allocations: 31.61 kB / 0.8214 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.5524, allocations: 16.53 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.5524, allocations: 2.031 kB / 0.8215 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.5526, allocations: 85.23 kB / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.5526, allocations: 0 / 0.8215 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002323/0.5529, allocations: 103.1 kB / 0.8216 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.5529, allocations: 55.58 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.553, allocations: 118.8 kB / 0.8218 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.553, allocations: 34.08 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.5531, allocations: 94.56 kB / 0.8219 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.549e-05/0.5531, allocations: 14.83 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/0.5532, allocations: 49.28 kB / 0.822 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.907e-05/0.5533, allocations: 325.5 kB / 0.8223 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.5534, allocations: 61 kB / 0.8224 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.5535, allocations: 92.42 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.5537, allocations: 162.6 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5537, allocations: 1.281 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003045/0.554, allocations: 261.4 kB / 0.8228 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.554, allocations: 67.22 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.554, allocations: 1.766 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.554, allocations: 2.312 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.901e-05/0.5541, allocations: 3.109 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5541, allocations: 1.797 kB / 0.8229 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.5543, allocations: 64.16 kB / 0.823 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5543, allocations: 11.34 kB / 0.823 GB, free: 13.48 MB / 0.6198 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,or1.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.636e-05/0.5544, allocations: 123.6 kB / 0.8231 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.5544, allocations: 12.64 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.5544, allocations: 6.188 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5544, allocations: 1.219 kB / 0.8231 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5544, allocations: 4 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5544, allocations: 0.75 kB / 0.8231 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.5545, allocations: 155.1 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5545, allocations: 3.938 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.764e-06/0.5545, allocations: 1.703 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5545, allocations: 1.797 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.5546, allocations: 1.094 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.5546, allocations: 1.625 kB / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5546, allocations: 0 / 0.8233 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.5547, allocations: 127.6 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-06/0.5547, allocations: 3.516 kB / 0.8234 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.5547, allocations: 5.406 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.5547, allocations: 2.281 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.5548, allocations: 9.328 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.5548, allocations: 2.094 kB / 0.8234 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.5548, allocations: 91.48 kB / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5548, allocations: 0 / 0.8235 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001636/0.555, allocations: 32.59 kB / 0.8236 GB, free: 12.98 MB / 0.6198 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,or1.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.0003799/0.5553, allocations: 0.652 MB / 0.8242 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.5556, allocations: 218.6 kB / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5556, allocations: 0 / 0.8244 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.904e-05/0.5557, allocations: 25.38 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.5559, allocations: 23.86 kB / 0.8244 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.5576, allocations: 1.721 MB / 0.8261 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.5578, allocations: 0.6854 MB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.5578, allocations: 10.16 kB / 0.8268 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.5578, allocations: 16.38 kB / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5578, allocations: 0 / 0.8268 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.5759, allocations: 3.03 MB / 0.8298 GB, free: 9.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.646/7.222, allocations: 7.406 kB / 0.8298 GB, free: 9.48 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Logical_Validation_Or.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.257204917958006] Failed to read output from testmodel.py, exit status != 0: 7.304201879072934 7.319801039 6.76608563 Calling exit ...