Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.0007549/0.0007549, 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.0007909/0.0007909, 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.8933/0.8933, 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.5555/0.5555, allocations: 114 MB / 373.9 MB, free: 8.699 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.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.476e-05/2.738e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.75 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001353/0.00138, allocations: 0.5422 MB / 0.5547 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 3.738e-05/0.001418, allocations: 7.938 kB / 0.5547 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.00144, allocations: 0 / 0.5547 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.001462, allocations: 0 / 0.5547 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.001487, allocations: 0 / 0.5547 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 3.435e-05/0.001521, allocations: 4 kB / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.043e-05/0.001571, allocations: 0 / 0.5547 GB, free: 2.199 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.001615, allocations: 7.984 kB / 0.5548 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.001641, allocations: 0 / 0.5548 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 1.642e-05/0.001657, allocations: 4 kB / 0.5548 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.001674, allocations: 0 / 0.5548 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-06/0.001677, allocations: 0 / 0.5548 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.001689, allocations: 0 / 0.5548 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.001705, allocations: 0 / 0.5548 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.261e-05/0.001758, allocations: 3.984 kB / 0.5548 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.001763, allocations: 4 kB / 0.5548 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.292e-06/0.001764, allocations: 0 / 0.5548 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.001768, allocations: 4 kB / 0.5548 GB, free: 2.176 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.0002351/0.002003, allocations: 234.5 kB / 0.555 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.002042, allocations: 8.031 kB / 0.555 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.002068, allocations: 38.62 kB / 0.555 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.63e-05/0.002084, allocations: 0.9375 kB / 0.555 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.764e-05/0.002152, allocations: 105.8 kB / 0.5551 GB, free: 1.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.002166, allocations: 8.359 kB / 0.5551 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.002172, allocations: 384 / 0.5551 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.756e-05/0.00225, allocations: 30.27 kB / 0.5552 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.002256, allocations: 192 / 0.5552 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.002264, allocations: 4.375 kB / 0.5552 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.002269, allocations: 8.125 kB / 0.5552 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.266e-05/0.002282, allocations: 0 / 0.5552 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.002534, allocations: 354.5 kB / 0.5555 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.132e-05/0.002595, allocations: 169.2 kB / 0.5557 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.00262, allocations: 80.14 kB / 0.5558 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.002642, allocations: 75.28 kB / 0.5558 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.002675, allocations: 113.7 kB / 0.5559 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.002676, allocations: 0 / 0.5559 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 5.971e-05/0.002736, allocations: 33.64 kB / 0.556 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.002782, allocations: 126.7 kB / 0.5561 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.002849, allocations: 101.9 kB / 0.5562 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.002861, allocations: 25.7 kB / 0.5562 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.002884, allocations: 84.12 kB / 0.5563 GB, free: 440 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-06/0.002885, allocations: 0 / 0.5563 GB, free: 440 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.711e-05/0.002902, allocations: 9.719 kB / 0.5563 GB, free: 424 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/0.002981, allocations: 314.8 kB / 0.5566 GB, free: 100 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.002986, allocations: 0 / 0.5566 GB, free: 100 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-06/0.00299, allocations: 0 / 0.5566 GB, free: 100 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.162e-05/0.003012, allocations: 75.28 kB / 0.5567 GB, free: 24 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.383e-05/0.003046, allocations: 79.28 kB / 0.5568 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.173e-05/0.003087, allocations: 45.64 kB / 0.5568 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.003118, allocations: 85.16 kB / 0.5569 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.003136, allocations: 75.28 kB / 0.557 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.34e-05/0.00318, allocations: 154.6 kB / 0.5571 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-05/0.003199, allocations: 83.2 kB / 0.5572 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.61e-05/0.003235, allocations: 150.6 kB / 0.5573 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.003281, allocations: 83.22 kB / 0.5574 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.003298, allocations: 75.28 kB / 0.5575 GB, free: 15.2 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 (0): * Single equations (assignments): 0 * 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 8.442e-05/0.003382, allocations: 268.3 kB / 0.5577 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.003423, allocations: 109 kB / 0.5578 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.003457, allocations: 116.1 kB / 0.5579 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.305e-05/0.003501, allocations: 180.5 kB / 0.5581 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-05/0.003544, allocations: 180.2 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/0.003587, allocations: 184.3 kB / 0.5585 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.00373, allocations: 376.2 kB / 0.5588 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.003753, allocations: 101 kB / 0.5589 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.003787, allocations: 105 kB / 0.559 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.305e-05/0.00383, allocations: 184.1 kB / 0.5592 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.003877, allocations: 180.3 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.491e-05/0.003922, allocations: 188.2 kB / 0.5595 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.176e-05/0.003964, allocations: 176.3 kB / 0.5597 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.84e-05/0.004062, allocations: 303.8 kB / 0.56 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.004098, allocations: 116.9 kB / 0.5601 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.004151, allocations: 184.2 kB / 0.5603 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.095e-05/0.004202, allocations: 105 kB / 0.5604 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.004253, allocations: 180.3 kB / 0.5606 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.674e-05/0.00428, allocations: 104.9 kB / 0.5607 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.802e-05/0.004318, allocations: 87.27 kB / 0.5607 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.004318, allocations: 3.938 kB / 0.5607 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000161/0.004479, allocations: 0 / 0.5607 GB, free: 11.64 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 (0): * Single equations (assignments): 0 * 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.0002935/0.004772, allocations: 0.801 MB / 0.5615 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 3.884e-05/0.004811, allocations: 3.938 kB / 0.5615 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.004813, allocations: 0 / 0.5615 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.72e-07/0.004814, allocations: 0 / 0.5615 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.005069, allocations: 463.7 kB / 0.562 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.005817, allocations: 1.517 MB / 0.5635 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.005853, allocations: 59.34 kB / 0.5635 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.005e-06/0.005861, allocations: 0 / 0.5635 GB, free: 8.676 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.28e-05/0.005884, allocations: 8.5 kB / 0.5635 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of SimCode: time 3.5e-07/0.005885, allocations: 4.094 kB / 0.5635 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02134, allocations: 1.537 MB / 0.565 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.619/6.641, allocations: 6.297 kB / 0.565 GB, free: 7.258 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.05254577100277] Failed to read output from testmodel.py, exit status != 0: 6.720583596266806 6.730377459 6.726768575 Calling exit ...