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.0009773/0.0009773, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001002/0.001002, 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.8689/0.8689, 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.5666/0.5666, allocations: 114 MB / 373.9 MB, free: 8.711 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 2.995e-06/2.995e-06, allocations: 0 / 0.5542 GB, free: 1.66 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.436e-05/2.735e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.656 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002374/0.002402, allocations: 0.7404 MB / 0.5549 GB, free: 0.918 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.004299, allocations: 1.263 MB / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.595e-05/0.004385, allocations: 0 / 0.5562 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.004435, allocations: 7.875 kB / 0.5562 GB, free: 15.63 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.148e-05/0.004527, allocations: 19.8 kB / 0.5562 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007899/0.005316, allocations: 260.1 kB / 0.5564 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.005665, allocations: 247.6 kB / 0.5567 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.00584, allocations: 41.27 kB / 0.5567 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.006075, allocations: 147.8 kB / 0.5568 GB, free: 14.94 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.006236, allocations: 75.8 kB / 0.5569 GB, free: 14.87 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.006287, allocations: 24 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.006387, allocations: 39.98 kB / 0.557 GB, free: 14.8 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.006436, allocations: 39.83 kB / 0.557 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.006542, allocations: 75.86 kB / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.006936, allocations: 283.2 kB / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.00694, allocations: 0 / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.006942, allocations: 0 / 0.5574 GB, free: 14.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.006948, allocations: 0 / 0.5574 GB, free: 14.41 MB / 490.7 MB 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.0006599/0.007608, allocations: 429.1 kB / 0.5578 GB, free: 13.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.007659, allocations: 12.62 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.889e-05/0.007708, allocations: 46.73 kB / 0.5578 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.524e-05/0.007783, allocations: 20.84 kB / 0.5578 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.00843, allocations: 177.7 kB / 0.558 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.008456, allocations: 16.38 kB / 0.558 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/0.008502, allocations: 20.38 kB / 0.5581 GB, free: 13.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.00872, allocations: 109.5 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.00873, allocations: 4.125 kB / 0.5582 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.008748, allocations: 8.375 kB / 0.5582 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.008755, allocations: 3.938 kB / 0.5582 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.008876, allocations: 63.89 kB / 0.5582 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.009363, allocations: 407.4 kB / 0.5586 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.009538, allocations: 122.7 kB / 0.5587 GB, free: 12.87 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.009602, allocations: 52.83 kB / 0.5588 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.009614, allocations: 4 kB / 0.5588 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.009869, allocations: 183.2 kB / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 1.704e-06/0.009871, allocations: 0 / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.0003933/0.01026, allocations: 329.5 kB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.01031, allocations: 67.38 kB / 0.5593 GB, free: 12.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.0104, allocations: 163.5 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.01043, allocations: 33.7 kB / 0.5595 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.01049, allocations: 109 kB / 0.5596 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.01053, allocations: 71.52 kB / 0.5597 GB, free: 11.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.01062, allocations: 98 kB / 0.5598 GB, free: 11.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.01071, allocations: 330.8 kB / 0.5601 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.01087, allocations: 168.2 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.01105, allocations: 233.3 kB / 0.5605 GB, free: 10.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.01129, allocations: 287.5 kB / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.0113, allocations: 0 / 0.5608 GB, free: 10.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004367/0.01173, allocations: 481.7 kB / 0.5612 GB, free: 10.13 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.01178, allocations: 67.39 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01179, allocations: 4 kB / 0.5613 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.01181, allocations: 8.125 kB / 0.5613 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.909e-05/0.01184, allocations: 15.92 kB / 0.5613 GB, free: 10.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.01184, allocations: 4 kB / 0.5613 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.01204, allocations: 75.72 kB / 0.5614 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.01206, allocations: 23.98 kB / 0.5614 GB, free: 9.926 MB / 490.7 MB 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 0.0001064/0.01217, allocations: 149.8 kB / 0.5616 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.01219, allocations: 15.91 kB / 0.5616 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.01223, allocations: 25.94 kB / 0.5616 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.01223, allocations: 7.938 kB / 0.5616 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01224, allocations: 0 / 0.5616 GB, free: 9.723 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01224, allocations: 3.938 kB / 0.5616 GB, free: 9.719 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.01277, allocations: 0.5846 MB / 0.5622 GB, free: 9.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01277, allocations: 4 kB / 0.5622 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-05/0.01278, allocations: 15.98 kB / 0.5622 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01279, allocations: 0 / 0.5622 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.0128, allocations: 11.94 kB / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.0128, allocations: 0 / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.0128, allocations: 0 / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.01305, allocations: 360.5 kB / 0.5626 GB, free: 8.688 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.01306, allocations: 23.78 kB / 0.5626 GB, free: 8.664 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.01308, allocations: 4 kB / 0.5626 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.226e-05/0.01312, allocations: 7.984 kB / 0.5626 GB, free: 8.652 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.01316, allocations: 19.97 kB / 0.5626 GB, free: 8.633 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.01318, allocations: 15.98 kB / 0.5626 GB, free: 8.617 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.442e-05/0.01323, allocations: 113.4 kB / 0.5627 GB, free: 8.508 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01323, allocations: 0 / 0.5627 GB, free: 8.508 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01345, allocations: 56 kB / 0.5628 GB, free: 8.453 MB / 490.7 MB 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.0005145/0.01396, allocations: 0.9133 MB / 0.5637 GB, free: 7.516 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.01438, allocations: 411.1 kB / 0.5641 GB, free: 7.078 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01438, allocations: 0 / 0.5641 GB, free: 7.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.01447, allocations: 92.27 kB / 0.5642 GB, free: 6.988 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.01474, allocations: 37.78 kB / 0.5642 GB, free: 6.957 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.01693, allocations: 2.69 MB / 0.5668 GB, free: 4.094 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.714e-05/0.017, allocations: 112.2 kB / 0.5669 GB, free: 3.965 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.55e-05/0.01705, allocations: 22.28 kB / 0.567 GB, free: 3.945 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.01711, allocations: 52.48 kB / 0.567 GB, free: 3.891 MB / 490.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01711, allocations: 0 / 0.567 GB, free: 3.891 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.03826, allocations: 5.35 MB / 0.5722 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.114, allocations: 4.812 kB / 0.5722 GB, free: 14.71 MB / 0.4948 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 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.53848232422024] Failed to read output from testmodel.py, exit status != 0: 7.203231425024569 7.218460231 7.208224118 Calling exit ...