Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.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.000783/0.000783, allocations: 80.48 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.0008208/0.0008208, 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.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5558/0.5558, allocations: 114 MB / 373.9 MB, free: 8.746 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.Log,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log",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: 1.641 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.34e-05, allocations: 6.281 kB / 0.5543 GB, free: 1.633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Log): time 0.001357/0.001381, allocations: 0.6423 MB / 0.5549 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008857/0.002266, allocations: 0.8432 MB / 0.5557 GB, free: 144 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.002299, allocations: 0 / 0.5557 GB, free: 144 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.002326, allocations: 3.938 kB / 0.5557 GB, free: 140 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.921e-05/0.002385, allocations: 0 / 0.5557 GB, free: 140 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.002571, allocations: 15.92 kB / 0.5557 GB, free: 124 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 6.337e-05/0.002634, allocations: 27.88 kB / 0.5557 GB, free: 96 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.306e-05/0.002727, allocations: 11.97 kB / 0.5558 GB, free: 84 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.002788, allocations: 15.94 kB / 0.5558 GB, free: 68 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.1e-05/0.002819, allocations: 7.984 kB / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.002832, allocations: 0 / 0.5558 GB, free: 60 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.686e-05/0.002869, allocations: 4 kB / 0.5558 GB, free: 56 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.002884, allocations: 8 kB / 0.5558 GB, free: 48 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.002899, allocations: 3.984 kB / 0.5558 GB, free: 44 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 9.304e-05/0.002992, allocations: 31.89 kB / 0.5558 GB, free: 12 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.002994, allocations: 0 / 0.5558 GB, free: 12 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.002995, allocations: 0 / 0.5558 GB, free: 12 kB / 474.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.002999, allocations: 4 kB / 0.5558 GB, free: 8 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003509/0.00335, allocations: 258.3 kB / 0.5561 GB, free: 15.72 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.00339, allocations: 12.62 kB / 0.5561 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.713e-05/0.003417, allocations: 30.75 kB / 0.5561 GB, free: 15.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.003479, allocations: 16.88 kB / 0.5561 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.014e-05/0.00355, allocations: 101.8 kB / 0.5562 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.003561, allocations: 8.359 kB / 0.5562 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.00357, allocations: 4.375 kB / 0.5562 GB, free: 15.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.003695, allocations: 54.17 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003703, allocations: 4.188 kB / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.00371, allocations: 384 / 0.5563 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.003715, allocations: 4.125 kB / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.003799, allocations: 27.97 kB / 0.5563 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002712/0.00407, allocations: 216.1 kB / 0.5565 GB, free: 15.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.522e-05/0.004146, allocations: 30.56 kB / 0.5566 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.004195, allocations: 24.89 kB / 0.5566 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.004215, allocations: 11.88 kB / 0.5566 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.004238, allocations: 38.5 kB / 0.5566 GB, free: 15.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.004239, allocations: 0 / 0.5566 GB, free: 15.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002228/0.004462, allocations: 81.59 kB / 0.5567 GB, free: 14.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.004496, allocations: 55.41 kB / 0.5568 GB, free: 14.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.004551, allocations: 97.86 kB / 0.5569 GB, free: 14.79 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.004561, allocations: 25.7 kB / 0.5569 GB, free: 14.76 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.004613, allocations: 88.25 kB / 0.557 GB, free: 14.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.004629, allocations: 7.953 kB / 0.557 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.004652, allocations: 13.72 kB / 0.557 GB, free: 14.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.373e-05/0.004726, allocations: 314.8 kB / 0.5573 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.004766, allocations: 15.92 kB / 0.5573 GB, free: 14.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.004802, allocations: 23.91 kB / 0.5573 GB, free: 14.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.004877, allocations: 40.89 kB / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.004879, allocations: 0 / 0.5574 GB, free: 14.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.882e-05/0.004978, allocations: 69.59 kB / 0.5574 GB, free: 14.17 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.004989, allocations: 4 kB / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004994, allocations: 0 / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.005004, allocations: 0 / 0.5574 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.005064, allocations: 11.98 kB / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.005069, allocations: 0 / 0.5575 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.175e-05/0.00509, allocations: 8.031 kB / 0.5575 GB, free: 14.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.005095, allocations: 0 / 0.5575 GB, free: 14.14 MB / 490.7 MB 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 (2): * Single equations (assignments): 2 * 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.034e-05/0.005145, allocations: 117.8 kB / 0.5576 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.005158, allocations: 7.922 kB / 0.5576 GB, free: 14.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.005276, allocations: 68.97 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.005278, allocations: 0 / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.005282, allocations: 4 kB / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005284, allocations: 0 / 0.5576 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.149e-05/0.005375, allocations: 124.8 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.005376, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.005398, allocations: 8 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005399, allocations: 7.938 kB / 0.5578 GB, free: 13.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005406, allocations: 3.984 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.005406, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005407, allocations: 0 / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.005531, allocations: 167.4 kB / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-06/0.005537, allocations: 3.938 kB / 0.5579 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.005545, allocations: 8.031 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.488e-05/0.00558, allocations: 4 kB / 0.558 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.005611, allocations: 4.172 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-06/0.005614, allocations: 4 kB / 0.558 GB, free: 13.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.673e-05/0.005641, allocations: 87.2 kB / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005641, allocations: 0 / 0.5581 GB, free: 13.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001378/0.005779, allocations: 4 kB / 0.5581 GB, free: 13.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0002999/0.006079, allocations: 0.7006 MB / 0.5587 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.006203, allocations: 39.95 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006205, allocations: 0 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.085e-05/0.006246, allocations: 23.92 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.006465, allocations: 0 / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.006781, allocations: 134.7 kB / 0.5589 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.253e-05/0.006824, allocations: 59.36 kB / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.006842, allocations: 3.938 kB / 0.559 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.006877, allocations: 16.48 kB / 0.559 GB, free: 12.4 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.006877, allocations: 0 / 0.559 GB, free: 12.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.02014, allocations: 1.949 MB / 0.5609 GB, free: 10.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.742/6.762, allocations: 6.984 kB / 0.5609 GB, free: 10.59 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Log.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.171379700303078] Failed to read output from testmodel.py, exit status != 0: 6.842064091004431 6.851142525 6.846463338 Calling exit ...