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.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.00169/0.00169, allocations: 97.91 kB / 20.48 MB, free: 1.363 MB / 14.72 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.002168/0.002168, allocations: 211.5 kB / 23.78 MB, free: 4.527 MB / 14.72 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 1.389/1.389, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.922/0.922, allocations: 150 MB / 463.9 MB, free: 10.25 MB / 366.1 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.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 70.36 kB / 0.6419 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1793, allocations: 89.17 MB / 0.729 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5195/0.6987, allocations: 135.8 MB / 0.8616 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01854/0.7173, allocations: 9.94 MB / 0.8713 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.7185, allocations: 27.81 kB / 0.8714 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.7199, allocations: 289.6 kB / 0.8716 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.7244, allocations: 0.9996 MB / 0.8726 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.7281, allocations: 1.105 MB / 0.8737 GB, free: 0.9141 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.731, allocations: 1.76 MB / 0.8754 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.733, allocations: 0.9554 MB / 0.8763 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00276/0.7357, allocations: 0.7561 MB / 0.8771 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.7373, allocations: 0.6457 MB / 0.8777 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0004468/0.7377, allocations: 136 kB / 0.8778 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.7407, allocations: 1.038 MB / 0.8788 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005896/0.7413, allocations: 398.7 kB / 0.8792 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.7423, allocations: 0.5637 MB / 0.8798 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004477/0.7468, allocations: 2.296 MB / 0.882 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.7468, allocations: 3.984 kB / 0.882 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7468, allocations: 0 / 0.882 GB, free: 8.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.663e-05/0.7469, allocations: 0 / 0.882 GB, free: 8.34 MB / 0.6544 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.005031/0.7519, allocations: 1.722 MB / 0.8837 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.752, allocations: 16.02 kB / 0.8837 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.643e-05/0.752, allocations: 22 kB / 0.8837 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003191/0.7523, allocations: 148.1 kB / 0.8839 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.7548, allocations: 330.8 kB / 0.8842 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.7569, allocations: 1.025 MB / 0.8852 GB, free: 5.012 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.757, allocations: 78 kB / 0.8853 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.7572, allocations: 92 kB / 0.8854 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.7597, allocations: 1.486 MB / 0.8868 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.7597, allocations: 4 kB / 0.8868 GB, free: 3.223 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7598, allocations: 40 kB / 0.8869 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.7598, allocations: 24 kB / 0.8869 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.7625, allocations: 1.319 MB / 0.8882 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005822/0.7683, allocations: 2.774 MB / 0.8909 GB, free: 15 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.7705, allocations: 0.9664 MB / 0.8918 GB, free: 14.03 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007988/0.7713, allocations: 392.7 kB / 0.8922 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.7715, allocations: 56.95 kB / 0.8922 GB, free: 13.59 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.773, allocations: 0.8511 MB / 0.8931 GB, free: 12.66 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 5.059e-06/0.773, allocations: 0 / 0.8931 GB, free: 12.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.004529/0.7775, allocations: 1.493 MB / 0.8945 GB, free: 11.16 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.7777, allocations: 192.9 kB / 0.8947 GB, free: 10.93 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.7794, allocations: 1.044 MB / 0.8957 GB, free: 9.879 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.7795, allocations: 53.64 kB / 0.8958 GB, free: 9.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.7802, allocations: 489.2 kB / 0.8963 GB, free: 9.336 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004279/0.7806, allocations: 317.2 kB / 0.8966 GB, free: 9.023 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003293/0.7809, allocations: 174.6 kB / 0.8967 GB, free: 8.844 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7811, allocations: 334 kB / 0.897 GB, free: 8.512 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007654/0.7819, allocations: 333.8 kB / 0.8974 GB, free: 8.188 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.783, allocations: 0.6628 MB / 0.898 GB, free: 7.438 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.7847, allocations: 0.7648 MB / 0.8988 GB, free: 6.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7847, allocations: 0 / 0.8988 GB, free: 6.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002755/0.7875, allocations: 1.045 MB / 0.8998 GB, free: 5.605 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.7875, allocations: 8 kB / 0.8998 GB, free: 5.598 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7875, allocations: 3.984 kB / 0.8998 GB, free: 5.594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008104/0.7883, allocations: 117.6 kB / 0.8999 GB, free: 5.473 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000916/0.7892, allocations: 199.7 kB / 0.9001 GB, free: 5.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.793, allocations: 2.853 MB / 0.9029 GB, free: 2.195 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.794, allocations: 109.6 kB / 0.903 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.7942, allocations: 44.03 kB / 0.903 GB, free: 2.047 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.0006986/0.7949, allocations: 309.5 kB / 0.9033 GB, free: 1.734 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.7952, allocations: 111.3 kB / 0.9034 GB, free: 1.625 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/0.7985, allocations: 1.322 MB / 0.9047 GB, free: 296 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.7985, allocations: 12 kB / 0.9047 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.7985, allocations: 0 / 0.9047 GB, free: 284 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.7986, allocations: 3.984 kB / 0.9047 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/0.8036, allocations: 2.263 MB / 0.9069 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.8036, allocations: 3.938 kB / 0.9069 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008762/0.8045, allocations: 203.6 kB / 0.9071 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.8051, allocations: 101.6 kB / 0.9072 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.8052, allocations: 31.97 kB / 0.9073 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.8085, allocations: 2.874 MB / 0.9101 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8085, allocations: 0 / 0.9101 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003001/0.8115, allocations: 1.241 MB / 0.9113 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000667/0.8121, allocations: 254.9 kB / 0.9115 GB, free: 8.992 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.8124, allocations: 27.98 kB / 0.9116 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/0.8134, allocations: 80.36 kB / 0.9116 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/0.8136, allocations: 84.83 kB / 0.9117 GB, free: 8.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.8137, allocations: 43.97 kB / 0.9118 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001129/0.8148, allocations: 0.7684 MB / 0.9125 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8148, allocations: 8 kB / 0.9125 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001367/0.8162, allocations: 447 kB / 0.9129 GB, free: 7.551 MB / 0.6856 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.005804/0.822, allocations: 2.422 MB / 0.9153 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.8248, allocations: 1.08 MB / 0.9164 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.8248, allocations: 3.938 kB / 0.9164 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.8263, allocations: 0.6981 MB / 0.917 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.8283, allocations: 372.1 kB / 0.9174 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/0.8449, allocations: 8.457 MB / 0.9257 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/0.8457, allocations: 0.5088 MB / 0.9262 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001252/0.8469, allocations: 320.1 kB / 0.9265 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/0.8478, allocations: 479.2 kB / 0.9269 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of SimCode: time 1.172e-06/0.8478, allocations: 0 / 0.9269 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0793/0.9271, allocations: 30.37 MB / 0.9566 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.9, allocations: 6.203 kB / 0.9566 GB, free: 11.24 MB / 0.7325 GB " [Timeout remaining time 644] (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: 19.85506414901465] Failed to read output from testmodel.py, exit status != 0: 16.18408959498629 16.20631799 15.455957546 Calling exit ...