Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.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.0007898/0.0007898, 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.0007915/0.0007915, 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.8948/0.8948, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.5676/0.5676, 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.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.5542 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.882e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.785 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nand): time 0.001336/0.001355, allocations: 0.6466 MB / 0.5548 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001354/0.002709, allocations: 1.197 MB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.343e-05/0.002752, allocations: 0 / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002779, allocations: 0 / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.002847, allocations: 23.86 kB / 0.556 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.003355, allocations: 223.2 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.003522, allocations: 167.7 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.776e-05/0.003619, allocations: 11.97 kB / 0.5564 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.003724, allocations: 87.94 kB / 0.5565 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.003828, allocations: 55.84 kB / 0.5565 GB, free: 396 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.003852, allocations: 12 kB / 0.5565 GB, free: 384 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 6.626e-05/0.003918, allocations: 35.98 kB / 0.5566 GB, free: 348 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.00394, allocations: 7.984 kB / 0.5566 GB, free: 340 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.003996, allocations: 47.91 kB / 0.5566 GB, free: 292 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004185, allocations: 187.5 kB / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.004187, allocations: 0 / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004188, allocations: 0 / 0.5568 GB, free: 104 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.004192, allocations: 0 / 0.5568 GB, free: 104 kB / 0.5105 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.000475/0.004667, allocations: 365.5 kB / 0.5572 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.004713, allocations: 8.625 kB / 0.5572 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.004743, allocations: 30.75 kB / 0.5572 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.004795, allocations: 20.89 kB / 0.5572 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.332e-05/0.004878, allocations: 113.8 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004892, allocations: 4.375 kB / 0.5573 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.004913, allocations: 16.36 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.723e-05/0.00501, allocations: 46.25 kB / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.005017, allocations: 192 / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005025, allocations: 384 / 0.5574 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.005031, allocations: 4.125 kB / 0.5574 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.005067, allocations: 19.92 kB / 0.5574 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.005442, allocations: 291.9 kB / 0.5577 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.882e-05/0.005521, allocations: 34.5 kB / 0.5577 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.005544, allocations: 16.86 kB / 0.5577 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.005554, allocations: 7.938 kB / 0.5578 GB, free: 15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.005683, allocations: 83.36 kB / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.005684, allocations: 0 / 0.5578 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0001966/0.005881, allocations: 101.7 kB / 0.5579 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.005918, allocations: 55.39 kB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.005988, allocations: 121.8 kB / 0.5581 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.00601, allocations: 33.7 kB / 0.5581 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.006053, allocations: 84.14 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.006067, allocations: 15.89 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.006129, allocations: 53.69 kB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.006215, allocations: 322.8 kB / 0.5586 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.006339, allocations: 119.4 kB / 0.5587 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.006478, allocations: 151.7 kB / 0.5588 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.006609, allocations: 163.5 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.006612, allocations: 3.938 kB / 0.559 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003127/0.006924, allocations: 332.7 kB / 0.5593 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.006966, allocations: 69.11 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.006972, allocations: 0 / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.006986, allocations: 11.92 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.84e-05/0.007005, allocations: 3.984 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.007012, allocations: 7.938 kB / 0.5594 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.007213, allocations: 48.06 kB / 0.5595 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.007234, allocations: 16 kB / 0.5595 GB, free: 13.07 MB / 0.5261 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,nand1.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 8.473e-05/0.007319, allocations: 129.7 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.00733, allocations: 7.953 kB / 0.5596 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.007352, allocations: 4.438 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.007355, allocations: 4 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.007361, allocations: 0 / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007365, allocations: 0 / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.007481, allocations: 148.7 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.007483, allocations: 64 / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-06/0.007489, allocations: 4 kB / 0.5598 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.00749, allocations: 4 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.007497, allocations: 4 kB / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.007498, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.007499, allocations: 0 / 0.5598 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.00761, allocations: 121.3 kB / 0.5599 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.007619, allocations: 7.953 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.007631, allocations: 3.984 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.252e-05/0.007644, allocations: 0 / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.007679, allocations: 4 kB / 0.5599 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.007687, allocations: 11.98 kB / 0.5599 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.007726, allocations: 91.28 kB / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.007726, allocations: 0 / 0.56 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001787/0.007904, allocations: 27.98 kB / 0.56 GB, free: 12.44 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nand1.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.0003032/0.008207, allocations: 0.6515 MB / 0.5607 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002581/0.008466, allocations: 282.1 kB / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008467, allocations: 0 / 0.5609 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.79e-05/0.008495, allocations: 19.94 kB / 0.5609 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.008658, allocations: 24.45 kB / 0.561 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.01005, allocations: 1.966 MB / 0.5629 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.0101, allocations: 71.34 kB / 0.563 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.01013, allocations: 7.984 kB / 0.563 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.01016, allocations: 16.5 kB / 0.563 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of SimCode: time 6.42e-07/0.01016, allocations: 4 kB / 0.563 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.02543, allocations: 3.756 MB / 0.5666 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.341, allocations: 5.156 kB / 0.5667 GB, free: 5.578 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nand.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.808792014606297] Failed to read output from testmodel.py, exit status != 0: 7.4231875678524375 7.435856621 7.429769688 Calling exit ...