Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.0009122/0.0009122, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 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.001502/0.001502, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9141/0.9141, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5485/0.5485, allocations: 114 MB / 373.9 MB, free: 8.703 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.328e-06/4.328e-06, allocations: 0 / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.963e-05/3.395e-05, allocations: 6.547 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001638/0.001671, allocations: 0.747 MB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.003007, allocations: 1.264 MB / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.16e-05/0.003089, allocations: 0 / 0.5562 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.465e-05/0.003133, allocations: 15.8 kB / 0.5562 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.003213, allocations: 11.88 kB / 0.5562 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.003835, allocations: 247.6 kB / 0.5564 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.004074, allocations: 255.6 kB / 0.5567 GB, free: 244 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.004214, allocations: 45.27 kB / 0.5567 GB, free: 200 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.004354, allocations: 139.8 kB / 0.5568 GB, free: 60 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.00449, allocations: 83.88 kB / 0.5569 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.004524, allocations: 24 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.512e-05/0.004599, allocations: 39.92 kB / 0.557 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.323e-05/0.004632, allocations: 31.89 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 7.604e-05/0.004708, allocations: 75.88 kB / 0.5571 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.00496, allocations: 287.1 kB / 0.5574 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.004964, allocations: 4 kB / 0.5574 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.473e-06/0.004965, allocations: 0 / 0.5574 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.004975, allocations: 0 / 0.5574 GB, free: 15.52 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007588/0.005734, allocations: 425.2 kB / 0.5578 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.005775, allocations: 8.625 kB / 0.5578 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.005809, allocations: 42.73 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.005859, allocations: 28.84 kB / 0.5578 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.006228, allocations: 177.8 kB / 0.558 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.006247, allocations: 12.38 kB / 0.558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.006278, allocations: 20.38 kB / 0.5581 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.006443, allocations: 110.2 kB / 0.5582 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.006453, allocations: 4.188 kB / 0.5582 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.006469, allocations: 4.375 kB / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.006476, allocations: 7.938 kB / 0.5582 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.006568, allocations: 59.91 kB / 0.5582 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.007077, allocations: 407.4 kB / 0.5586 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.007257, allocations: 126.6 kB / 0.5587 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.007317, allocations: 48.84 kB / 0.5588 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.007328, allocations: 4 kB / 0.5588 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.007574, allocations: 191.1 kB / 0.559 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.007575, allocations: 0 / 0.559 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.00041/0.007985, allocations: 329.5 kB / 0.5593 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.008031, allocations: 63.39 kB / 0.5593 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.00813, allocations: 156 kB / 0.5595 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.008161, allocations: 41.69 kB / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.00822, allocations: 112.9 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.008257, allocations: 71.48 kB / 0.5597 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/0.008347, allocations: 106 kB / 0.5598 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.008427, allocations: 326.8 kB / 0.5601 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.008588, allocations: 168.2 kB / 0.5603 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.008766, allocations: 225.4 kB / 0.5605 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.009007, allocations: 287.5 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.009011, allocations: 4 kB / 0.5608 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004143/0.009425, allocations: 485.8 kB / 0.5612 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.009467, allocations: 63.39 kB / 0.5613 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.009472, allocations: 0 / 0.5613 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.009487, allocations: 4 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.991e-05/0.009517, allocations: 23.86 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.009524, allocations: 4 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.009707, allocations: 75.91 kB / 0.5614 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.009731, allocations: 20 kB / 0.5614 GB, free: 11.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 46 ($whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,tru.y,fal.y,truCleTruIni.clr,truCleFalIni.clr,falCleTruIni.clr,falCleFalIni.clr,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * 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 9.582e-05/0.009827, allocations: 149.8 kB / 0.5616 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.009847, allocations: 15.91 kB / 0.5616 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.703e-05/0.009884, allocations: 21.97 kB / 0.5616 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.009888, allocations: 4 kB / 0.5616 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.009894, allocations: 4 kB / 0.5616 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.009901, allocations: 7.922 kB / 0.5616 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.01041, allocations: 0.5884 MB / 0.5622 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.01041, allocations: 0 / 0.5622 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.01043, allocations: 7.984 kB / 0.5622 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.01043, allocations: 4 kB / 0.5622 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.01044, allocations: 8 kB / 0.5622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01045, allocations: 4 kB / 0.5622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01045, allocations: 4 kB / 0.5622 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.01071, allocations: 364.5 kB / 0.5626 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.01073, allocations: 15.84 kB / 0.5626 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.01074, allocations: 8 kB / 0.5626 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.155e-05/0.01078, allocations: 4 kB / 0.5626 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.01083, allocations: 23.95 kB / 0.5626 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.01085, allocations: 12 kB / 0.5626 GB, free: 9.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.761e-05/0.0109, allocations: 105.1 kB / 0.5627 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.0109, allocations: 7.875 kB / 0.5627 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002118/0.01111, allocations: 64 kB / 0.5628 GB, free: 9.555 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (swiCleInp1.clr,swiCleInp.clr,truCleFalIni.u,swiCleInp1.u,swiCleInp.u,truCleTruIni.u,falCleTruIni.u,falCleFalIni.u,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0004921/0.0116, allocations: 0.8978 MB / 0.5637 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.01198, allocations: 415.1 kB / 0.5641 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01198, allocations: 4 kB / 0.5641 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.01207, allocations: 95.81 kB / 0.5642 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.0123, allocations: 27.2 kB / 0.5642 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.01444, allocations: 2.69 MB / 0.5668 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.214e-05/0.0145, allocations: 108.1 kB / 0.5669 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.012e-05/0.01455, allocations: 26.3 kB / 0.5669 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.824e-05/0.01461, allocations: 48.48 kB / 0.567 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of SimCode: time 6.32e-07/0.01461, allocations: 0 / 0.567 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.03404, allocations: 5.364 MB / 0.5722 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.714, allocations: 3.031 kB / 0.5722 GB, free: 15.82 MB / 0.5417 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.369904127903283] Failed to read output from testmodel.py, exit status != 0: 6.796707345172763 6.808273543 6.801401343 Calling exit ...