Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.0008278/0.0008278, allocations: 76.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.0009613/0.0009613, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8984/0.8984, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.5699/0.5699, allocations: 114 MB / 373.9 MB, free: 8.723 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.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.176e-06/3.176e-06, allocations: 0 / 0.5542 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.856e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.715 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001952/0.00198, allocations: 0.6944 MB / 0.5549 GB, free: 2.027 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.003166, allocations: 0.8861 MB / 0.5558 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.872e-05/0.003214, allocations: 4 kB / 0.5558 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.308e-05/0.003247, allocations: 3.938 kB / 0.5558 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.003318, allocations: 11.88 kB / 0.5558 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.003515, allocations: 15.92 kB / 0.5558 GB, free: 1.094 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.584e-05/0.003611, allocations: 47.84 kB / 0.5559 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.003722, allocations: 4 kB / 0.5559 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.00382, allocations: 31.95 kB / 0.5559 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.9e-05/0.003869, allocations: 15.92 kB / 0.5559 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.003895, allocations: 4 kB / 0.5559 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.003906, allocations: 4 kB / 0.5559 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.003926, allocations: 8 kB / 0.5559 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.003956, allocations: 7.984 kB / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.004071, allocations: 51.86 kB / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.004075, allocations: 0 / 0.556 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.004076, allocations: 3.938 kB / 0.556 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.00408, allocations: 0 / 0.556 GB, free: 0.918 MB / 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.0004861/0.004567, allocations: 288.6 kB / 0.5563 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.004614, allocations: 8.625 kB / 0.5563 GB, free: 0.5977 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.004654, allocations: 38.69 kB / 0.5563 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.004681, allocations: 8.891 kB / 0.5563 GB, free: 0.543 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.004781, allocations: 113.8 kB / 0.5564 GB, free: 416 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.004794, allocations: 4.375 kB / 0.5564 GB, free: 412 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.004806, allocations: 4.375 kB / 0.5564 GB, free: 408 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.005036, allocations: 70.2 kB / 0.5565 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.005045, allocations: 192 / 0.5565 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.005055, allocations: 384 / 0.5565 GB, free: 332 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.005065, allocations: 4.125 kB / 0.5565 GB, free: 328 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.005238, allocations: 71.86 kB / 0.5566 GB, free: 256 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.005567, allocations: 224.1 kB / 0.5568 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.005683, allocations: 54.53 kB / 0.5568 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.191e-05/0.005755, allocations: 36.92 kB / 0.5569 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.005776, allocations: 7.922 kB / 0.5569 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.005794, allocations: 30.56 kB / 0.5569 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.005795, allocations: 7.938 kB / 0.5569 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003068/0.006102, allocations: 129.5 kB / 0.5571 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.006138, allocations: 55.41 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.006203, allocations: 113.8 kB / 0.5572 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.006213, allocations: 25.7 kB / 0.5572 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.006246, allocations: 88.09 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.006265, allocations: 19.88 kB / 0.5573 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.006292, allocations: 13.72 kB / 0.5574 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.00636, allocations: 314.8 kB / 0.5577 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.909e-05/0.006429, allocations: 35.95 kB / 0.5577 GB, free: 15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-05/0.006492, allocations: 27.97 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.006623, allocations: 76.72 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006625, allocations: 0 / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001598/0.006785, allocations: 101.5 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.006799, allocations: 4 kB / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006803, allocations: 0 / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006815, allocations: 0 / 0.5579 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.0069, allocations: 23.97 kB / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006905, allocations: 0 / 0.5579 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.99e-05/0.006945, allocations: 11.98 kB / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.006952, allocations: 0 / 0.5579 GB, free: 14.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.693e-05/0.007009, allocations: 113.8 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.007023, allocations: 3.938 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.682e-05/0.00705, allocations: 8 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-06/0.007052, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.007056, allocations: 0 / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.007058, allocations: 4 kB / 0.558 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.007166, allocations: 144.6 kB / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.007167, allocations: 0 / 0.5582 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.007209, allocations: 19.92 kB / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007211, allocations: 0 / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.007218, allocations: 0 / 0.5582 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.007219, allocations: 4 kB / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.00722, allocations: 0 / 0.5582 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.007413, allocations: 199.4 kB / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-06/0.007421, allocations: 7.938 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.007431, allocations: 3.938 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.00748, allocations: 11.98 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.007518, allocations: 3.984 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.876e-06/0.007521, allocations: 4 kB / 0.5584 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.007552, allocations: 83.28 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.007552, allocations: 0 / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001424/0.007694, allocations: 8 kB / 0.5585 GB, free: 14.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003858/0.00808, allocations: 0.7322 MB / 0.5592 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.008258, allocations: 71.95 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.008259, allocations: 4 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.106e-05/0.00833, allocations: 39.89 kB / 0.5593 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.008562, allocations: 8.547 kB / 0.5593 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.009099, allocations: 146.6 kB / 0.5595 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.417e-05/0.009153, allocations: 67.28 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.009184, allocations: 4 kB / 0.5596 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.00923, allocations: 24.48 kB / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/0.00923, allocations: 0 / 0.5596 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02629, allocations: 2.365 MB / 0.5619 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.019, allocations: 2.344 kB / 0.5619 GB, free: 10.68 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.469080694019794] Failed to read output from testmodel.py, exit status != 0: 7.102124129422009 7.109950085 7.103985963 Calling exit ...