Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.0009336/0.0009336, 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.001088/0.001088, 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.9193/0.9193, 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.5604/0.5604, allocations: 114 MB / 373.9 MB, free: 8.695 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.Sources.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Sin",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 0.5542 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.378e-05/2.714e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002085/0.002112, allocations: 0.6082 MB / 0.5548 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.003346, allocations: 0.8354 MB / 0.5556 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.00339, allocations: 0 / 0.5556 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.101e-05/0.003421, allocations: 7.938 kB / 0.5557 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.003477, allocations: 3.938 kB / 0.5557 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.003702, allocations: 7.938 kB / 0.5557 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.419e-05/0.003786, allocations: 19.92 kB / 0.5557 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.003843, allocations: 8 kB / 0.5557 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002224/0.004065, allocations: 27.84 kB / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.004124, allocations: 0 / 0.5557 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.004142, allocations: 4 kB / 0.5557 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.004194, allocations: 4 kB / 0.5557 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.00421, allocations: 7.984 kB / 0.5557 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.004231, allocations: 0 / 0.5557 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.004371, allocations: 27.89 kB / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.004376, allocations: 0 / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/0.004379, allocations: 0 / 0.5558 GB, free: 1.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.004384, allocations: 4 kB / 0.5558 GB, free: 1.156 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004288/0.004813, allocations: 258.3 kB / 0.556 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.004867, allocations: 8.031 kB / 0.556 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.004906, allocations: 30.75 kB / 0.556 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.005089, allocations: 16.92 kB / 0.5561 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.005196, allocations: 105.8 kB / 0.5562 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.005209, allocations: 4.375 kB / 0.5562 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.005218, allocations: 384 / 0.5562 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.005357, allocations: 42.19 kB / 0.5562 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.005366, allocations: 4.188 kB / 0.5562 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.005375, allocations: 384 / 0.5562 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.005382, allocations: 4.125 kB / 0.5562 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.289e-05/0.005435, allocations: 11.98 kB / 0.5562 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.005614, allocations: 124.8 kB / 0.5563 GB, free: 456 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.518e-05/0.005679, allocations: 22.61 kB / 0.5564 GB, free: 424 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.005718, allocations: 16.91 kB / 0.5564 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.005737, allocations: 0 / 0.5564 GB, free: 404 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.005762, allocations: 38.44 kB / 0.5564 GB, free: 356 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.005764, allocations: 4 kB / 0.5564 GB, free: 352 kB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002182/0.005982, allocations: 53.64 kB / 0.5565 GB, free: 292 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.006023, allocations: 59.34 kB / 0.5565 GB, free: 220 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.0061, allocations: 101.8 kB / 0.5566 GB, free: 108 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.006112, allocations: 25.7 kB / 0.5567 GB, free: 76 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/0.006164, allocations: 84.14 kB / 0.5567 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.006189, allocations: 0 / 0.5567 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.006226, allocations: 17.66 kB / 0.5567 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.006319, allocations: 318.8 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.006357, allocations: 8.125 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.006383, allocations: 7.984 kB / 0.5571 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.006451, allocations: 20.8 kB / 0.5571 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.006454, allocations: 0 / 0.5571 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000113/0.006567, allocations: 49.67 kB / 0.5571 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.006589, allocations: 9.719 kB / 0.5571 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.006595, allocations: 0 / 0.5571 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.006616, allocations: 4.094 kB / 0.5571 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.006696, allocations: 7.938 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.006702, allocations: 0 / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.006729, allocations: 3.984 kB / 0.5572 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.006737, allocations: 0 / 0.5572 GB, free: 15.53 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 (1): * Single equations (assignments): 1 * 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 0.0001056/0.006842, allocations: 109.8 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.006854, allocations: 3.953 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.006878, allocations: 3.156 kB / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.006881, allocations: 0 / 0.5573 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.006888, allocations: 7.938 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.00689, allocations: 4 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.831e-05/0.006989, allocations: 124.8 kB / 0.5574 GB, free: 15.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.006991, allocations: 4.188 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.00703, allocations: 4 kB / 0.5574 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.007036, allocations: 4 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.007045, allocations: 0 / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.007047, allocations: 0 / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.007051, allocations: 7.922 kB / 0.5574 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.007179, allocations: 65.12 kB / 0.5575 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.007192, allocations: 4 kB / 0.5575 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.007206, allocations: 4.031 kB / 0.5575 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.00723, allocations: 0 / 0.5575 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.007269, allocations: 11.92 kB / 0.5575 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.007274, allocations: 0 / 0.5575 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.007318, allocations: 83.28 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.007318, allocations: 3.938 kB / 0.5576 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001892/0.007507, allocations: 4 kB / 0.5576 GB, free: 15.02 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 (1): * Single equations (assignments): 1 * 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.0004197/0.007927, allocations: 0.6163 MB / 0.5582 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.008051, allocations: 15.98 kB / 0.5582 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.008053, allocations: 0 / 0.5582 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.008082, allocations: 8 kB / 0.5582 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.00825, allocations: 7.922 kB / 0.5582 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.008705, allocations: 130.5 kB / 0.5583 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.008754, allocations: 55.36 kB / 0.5584 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.342e-05/0.008787, allocations: 8.109 kB / 0.5584 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.65e-05/0.008834, allocations: 20.48 kB / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/0.008835, allocations: 0 / 0.5584 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.02956, allocations: 1.746 MB / 0.5601 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.943/6.973, allocations: 4.719 kB / 0.5601 GB, free: 12.45 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Sin_fmu --startTime=0 --stopTime=130 --stepSize=0.052 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Sin.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.4777292907238] Failed to read output from testmodel.py, exit status != 0: 7.055217905901372 7.065982868 7.059416975 Calling exit ...