Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 117.5 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.7 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8181/0.8181, allocations: 129.2 MB / 432.5 MB, free: 13.07 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 63.89 kB / 0.5987 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.38, allocations: 83.43 MB / 0.6802 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1804/0.5605, allocations: 155 MB / 0.8315 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01548/0.5759, allocations: 10.6 MB / 0.8419 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.5769, allocations: 19.88 kB / 0.8419 GB, free: 7.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009928/0.5779, allocations: 297.6 kB / 0.8422 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5811, allocations: 0.9826 MB / 0.8431 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002798/0.5839, allocations: 1.086 MB / 0.8442 GB, free: 5.414 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.5863, allocations: 1.721 MB / 0.8459 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001554/0.5879, allocations: 0.9468 MB / 0.8468 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/0.59, allocations: 0.7448 MB / 0.8475 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000906/0.5909, allocations: 0.6224 MB / 0.8481 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000202/0.5911, allocations: 136 kB / 0.8483 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.5933, allocations: 1.041 MB / 0.8493 GB, free: 184 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003982/0.5937, allocations: 394.8 kB / 0.8497 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007033/0.5944, allocations: 0.6763 MB / 0.8503 GB, free: 15.11 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003505/0.5979, allocations: 2.242 MB / 0.8525 GB, free: 12.86 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5979, allocations: 4 kB / 0.8525 GB, free: 12.86 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.724e-06/0.5979, allocations: 0 / 0.8525 GB, free: 12.86 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.5979, allocations: 0 / 0.8525 GB, free: 12.86 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003386/0.6013, allocations: 1.782 MB / 0.8543 GB, free: 11.02 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.6013, allocations: 12.03 kB / 0.8543 GB, free: 11 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.6015, allocations: 152.1 kB / 0.8544 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.6031, allocations: 282.9 kB / 0.8547 GB, free: 10.57 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.6049, allocations: 1.09 MB / 0.8557 GB, free: 9.438 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.605, allocations: 74 kB / 0.8558 GB, free: 9.367 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.6051, allocations: 95.98 kB / 0.8559 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001942/0.607, allocations: 1.102 MB / 0.857 GB, free: 8.129 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.6071, allocations: 0 / 0.857 GB, free: 8.129 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/0.6071, allocations: 44 kB / 0.857 GB, free: 8.086 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.6072, allocations: 27.94 kB / 0.8571 GB, free: 8.059 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.6095, allocations: 1.323 MB / 0.8583 GB, free: 6.738 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005662/0.6151, allocations: 3.513 MB / 0.8618 GB, free: 3.051 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.6171, allocations: 1.053 MB / 0.8628 GB, free: 1.977 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/0.6179, allocations: 391.6 kB / 0.8632 GB, free: 1.59 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002565/0.6181, allocations: 134 kB / 0.8633 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/0.6192, allocations: 0.6294 MB / 0.8639 GB, free: 0.793 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 2.214e-06/0.6192, allocations: 0 / 0.8639 GB, free: 0.793 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.2906/0.9098, allocations: 1.627 MB / 0.8655 GB, free: 175.4 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/0.9099, allocations: 194.4 kB / 0.8657 GB, free: 175.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0015/0.9114, allocations: 1.025 MB / 0.8667 GB, free: 174.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.9115, allocations: 48.36 kB / 0.8667 GB, free: 174.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003586/0.9119, allocations: 476.5 kB / 0.8672 GB, free: 174.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/0.9121, allocations: 320.9 kB / 0.8675 GB, free: 174.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.9124, allocations: 171.5 kB / 0.8677 GB, free: 174.3 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.9125, allocations: 336.5 kB / 0.868 GB, free: 174 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006812/0.9132, allocations: 333.6 kB / 0.8683 GB, free: 173.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/0.914, allocations: 476.2 kB / 0.8688 GB, free: 173.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.9155, allocations: 0.7637 MB / 0.8695 GB, free: 173.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9155, allocations: 1.062 kB / 0.8695 GB, free: 173.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002386/0.9179, allocations: 1.043 MB / 0.8705 GB, free: 172.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.9179, allocations: 7.016 kB / 0.8705 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.9179, allocations: 4.25 kB / 0.8705 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007199/0.9186, allocations: 113.3 kB / 0.8706 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/0.9195, allocations: 200.3 kB / 0.8708 GB, free: 172.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/0.922, allocations: 3.062 MB / 0.8738 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/0.9228, allocations: 107.6 kB / 0.8739 GB, free: 169.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.9229, allocations: 37.17 kB / 0.874 GB, free: 169.9 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005099/0.9234, allocations: 307.7 kB / 0.8743 GB, free: 169.7 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.9236, allocations: 111 kB / 0.8744 GB, free: 169.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.9264, allocations: 1.325 MB / 0.8757 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.9264, allocations: 10.28 kB / 0.8757 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.9264, allocations: 0.6562 kB / 0.8757 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.9264, allocations: 4.625 kB / 0.8757 GB, free: 169.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004222/0.9307, allocations: 2.438 MB / 0.878 GB, free: 168.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.9307, allocations: 3.844 kB / 0.8781 GB, free: 168.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.9314, allocations: 194.9 kB / 0.8782 GB, free: 168.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/0.9319, allocations: 103 kB / 0.8783 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.932, allocations: 32.69 kB / 0.8784 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.934, allocations: 3.094 MB / 0.8814 GB, free: 165 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.934, allocations: 5.312 kB / 0.8814 GB, free: 165 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.9363, allocations: 1.235 MB / 0.8826 GB, free: 164.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.9367, allocations: 331.3 kB / 0.8829 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.9368, allocations: 18.31 kB / 0.8829 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.9376, allocations: 84.62 kB / 0.883 GB, free: 164 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.9377, allocations: 86.53 kB / 0.8831 GB, free: 163.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.318e-05/0.9378, allocations: 44.38 kB / 0.8831 GB, free: 163.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007738/0.9386, allocations: 0.7517 MB / 0.8839 GB, free: 163.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.9386, allocations: 0 / 0.8839 GB, free: 163.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001161/0.9397, allocations: 460.7 kB / 0.8843 GB, free: 163.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004284/0.944, allocations: 2.411 MB / 0.8867 GB, free: 162 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001971/0.946, allocations: 1.075 MB / 0.8877 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.946, allocations: 1.156 kB / 0.8877 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.9471, allocations: 0.7074 MB / 0.8884 GB, free: 161 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.9486, allocations: 366.1 kB / 0.8888 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.9619, allocations: 8.357 MB / 0.8969 GB, free: 156 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.9626, allocations: 1.109 MB / 0.898 GB, free: 155.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001107/0.9637, allocations: 318.7 kB / 0.8983 GB, free: 155 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/0.9644, allocations: 468.7 kB / 0.8988 GB, free: 154.6 MB / 0.67 GB Notification: Performance of SimCode: time 7.81e-07/0.9644, allocations: 1.25 kB / 0.8988 GB, free: 154.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/1.031, allocations: 28.4 MB / 0.9265 GB, free: 129.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/15.05, allocations: 6.328 kB / 0.9265 GB, free: 129.1 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.539764451328665] Failed to read output from testmodel.py, exit status != 0: 15.261354632675648 15.27828333 14.676893832 Calling exit ...