Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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.001546/0.001546, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001424/0.001424, allocations: 219.7 kB / 23 MB, free: 5.004 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.369/1.369, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9153/0.9153, allocations: 150 MB / 463.2 MB, free: 10.49 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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="me",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.001932/0.001932, allocations: 62.75 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1806, allocations: 89.17 MB / 0.7283 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5523/0.7328, allocations: 172.1 MB / 0.8964 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.7583, allocations: 17.73 MB / 0.9137 GB, free: 9.539 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.7601, allocations: 43.62 kB / 0.9137 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.7623, allocations: 0.5894 MB / 0.9143 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006108/0.7684, allocations: 1.854 MB / 0.9161 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004274/0.7727, allocations: 1.503 MB / 0.9176 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.7774, allocations: 2.89 MB / 0.9204 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.7805, allocations: 1.606 MB / 0.922 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.7857, allocations: 1.527 MB / 0.9235 GB, free: 15.53 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.7879, allocations: 1.14 MB / 0.9246 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006741/0.7885, allocations: 224 kB / 0.9248 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.7925, allocations: 1.677 MB / 0.9264 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.7936, allocations: 0.8101 MB / 0.9272 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.7958, allocations: 1.283 MB / 0.9285 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006336/0.8022, allocations: 3.79 MB / 0.9322 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8022, allocations: 0 / 0.9322 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8022, allocations: 0 / 0.9322 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001235/0.8023, allocations: 0 / 0.9322 GB, free: 6.582 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006664/0.809, allocations: 2.95 MB / 0.9351 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.809, allocations: 8.031 kB / 0.9351 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004764/0.8095, allocations: 252.9 kB / 0.9353 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004464/0.8139, allocations: 0.6383 MB / 0.9359 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.8189, allocations: 3.359 MB / 0.9392 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.8191, allocations: 127.4 kB / 0.9393 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000327/0.8194, allocations: 171.8 kB / 0.9395 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/0.8232, allocations: 1.94 MB / 0.9414 GB, free: 13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.8232, allocations: 4 kB / 0.9414 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00018/0.8234, allocations: 68 kB / 0.9415 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/0.8235, allocations: 43.98 kB / 0.9415 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.8273, allocations: 2.093 MB / 0.9435 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.8382, allocations: 6.705 MB / 0.9501 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003398/0.8416, allocations: 1.709 MB / 0.9518 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.8429, allocations: 0.706 MB / 0.9524 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004704/0.8434, allocations: 117.2 kB / 0.9526 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.8452, allocations: 1.002 MB / 0.9535 GB, free: 132 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 3.928e-06/0.8452, allocations: 0 / 0.9535 GB, free: 132 kB / 0.7169 GB Notification: Performance of matching and sorting (n=146): time 0.006943/0.8522, allocations: 2.598 MB / 0.9561 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.8523, allocations: 201.2 kB / 0.9563 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005421/0.8577, allocations: 4.081 MB / 0.9602 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001944/0.8579, allocations: 61.7 kB / 0.9603 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009454/0.8589, allocations: 0.9075 MB / 0.9612 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005187/0.8594, allocations: 0.4957 MB / 0.9617 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004546/0.8598, allocations: 238.8 kB / 0.9619 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.86, allocations: 353.9 kB / 0.9622 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.8612, allocations: 0.5648 MB / 0.9628 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/0.8626, allocations: 0.8008 MB / 0.9636 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.865, allocations: 1.314 MB / 0.9649 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.865, allocations: 3.984 kB / 0.9649 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004123/0.8692, allocations: 1.776 MB / 0.9666 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.8692, allocations: 4 kB / 0.9666 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.8692, allocations: 0 / 0.9666 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.8703, allocations: 212.2 kB / 0.9668 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001537/0.8718, allocations: 327.5 kB / 0.9671 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.8787, allocations: 6.8 MB / 0.9738 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.8802, allocations: 182.9 kB / 0.9739 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/0.8804, allocations: 51.97 kB / 0.974 GB, free: 10.4 MB / 0.7481 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001066/0.8814, allocations: 479.5 kB / 0.9744 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005821/0.882, allocations: 202.7 kB / 0.9746 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004803/0.8868, allocations: 2.134 MB / 0.9767 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.8868, allocations: 20 kB / 0.9767 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.8869, allocations: 4 kB / 0.9767 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.535e-05/0.8869, allocations: 7.969 kB / 0.9767 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00791/0.8948, allocations: 4.076 MB / 0.9807 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.8948, allocations: 0 / 0.9807 GB, free: 3.379 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.8962, allocations: 319.6 kB / 0.981 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008924/0.8971, allocations: 204.1 kB / 0.9812 GB, free: 2.852 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.8973, allocations: 39.97 kB / 0.9813 GB, free: 2.812 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006654/0.9039, allocations: 6.85 MB / 0.988 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.9039, allocations: 0 / 0.988 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.9083, allocations: 2.017 MB / 0.9899 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.9095, allocations: 461.9 kB / 0.9904 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/0.9099, allocations: 32 kB / 0.9904 GB, free: 8.84 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.9114, allocations: 106.4 kB / 0.9905 GB, free: 8.738 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.9117, allocations: 117.1 kB / 0.9906 GB, free: 8.625 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/0.9118, allocations: 75.94 kB / 0.9907 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003866/0.9157, allocations: 3.14 MB / 0.9937 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9157, allocations: 0 / 0.9937 GB, free: 5.418 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001982/0.9177, allocations: 0.686 MB / 0.9944 GB, free: 4.73 MB / 0.7637 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.007072/0.9247, allocations: 3.203 MB / 0.9975 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003719/0.9285, allocations: 2 MB / 0.9995 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/0.9285, allocations: 4.656 kB / 0.9995 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002191/0.9307, allocations: 1.368 MB / 1.001 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.9334, allocations: 0.5484 MB / 1.001 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/0.967, allocations: 20.9 MB / 1.022 GB, free: 8.523 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.9687, allocations: 1.541 MB / 1.023 GB, free: 6.953 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001957/0.9707, allocations: 0.5251 MB / 1.024 GB, free: 6.422 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.9721, allocations: 0.9093 MB / 1.025 GB, free: 5.512 MB / 0.795 GB Notification: Performance of SimCode: time 8.51e-07/0.9721, allocations: 0 / 1.025 GB, free: 5.512 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.091, allocations: 50.49 MB / 1.074 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.52, allocations: 14.23 kB / 1.074 GB, free: 3.426 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.617472360143438] Failed to read output from testmodel.py, exit status != 0: 17.76693114079535 18.103129547 17.29527494 Calling exit ...