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.001347/0.001347, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001535/0.001535, allocations: 215.3 kB / 22.99 MB, free: 4.977 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9568/0.9568, allocations: 149.9 MB / 463.1 MB, free: 10.31 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.002011/0.002011, allocations: 66.69 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1665, allocations: 89.17 MB / 0.7282 GB, free: 1.004 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5247/0.6912, allocations: 148.3 MB / 0.873 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02597/0.7172, allocations: 16.2 MB / 0.8888 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.7188, allocations: 43.62 kB / 0.8888 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.7208, allocations: 0.5545 MB / 0.8894 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.7263, allocations: 1.844 MB / 0.8912 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.73, allocations: 1.471 MB / 0.8926 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003681/0.7337, allocations: 2.886 MB / 0.8954 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002252/0.736, allocations: 1.583 MB / 0.897 GB, free: 8.285 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004077/0.7401, allocations: 1.512 MB / 0.8985 GB, free: 6.836 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.7415, allocations: 1.042 MB / 0.8995 GB, free: 5.789 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003269/0.7419, allocations: 224 kB / 0.8997 GB, free: 5.57 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.7448, allocations: 1.458 MB / 0.9011 GB, free: 4.109 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007221/0.7455, allocations: 0.8139 MB / 0.9019 GB, free: 3.293 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.7467, allocations: 1.05 MB / 0.9029 GB, free: 2.238 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004932/0.7516, allocations: 3.79 MB / 0.9066 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7516, allocations: 3.938 kB / 0.9066 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.013e-06/0.7516, allocations: 0 / 0.9066 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.464e-05/0.7517, allocations: 0 / 0.9066 GB, free: 14.43 MB / 0.6856 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.005189/0.7569, allocations: 2.946 MB / 0.9095 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7569, allocations: 8.031 kB / 0.9095 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003604/0.7573, allocations: 248.8 kB / 0.9098 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/0.7614, allocations: 0.6353 MB / 0.9104 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/0.766, allocations: 3.367 MB / 0.9137 GB, free: 7.129 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.7661, allocations: 123.4 kB / 0.9138 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.7664, allocations: 179.9 kB / 0.914 GB, free: 6.832 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.7702, allocations: 2.693 MB / 0.9166 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.7702, allocations: 4 kB / 0.9166 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.7704, allocations: 72 kB / 0.9167 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.7704, allocations: 40 kB / 0.9167 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.7739, allocations: 2.046 MB / 0.9187 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009033/0.7829, allocations: 4.961 MB / 0.9235 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/0.786, allocations: 1.707 MB / 0.9252 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.7873, allocations: 0.6944 MB / 0.9259 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004213/0.7877, allocations: 121.2 kB / 0.926 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.7898, allocations: 1.611 MB / 0.9276 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.637e-06/0.7898, allocations: 0 / 0.9276 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.006562/0.7963, allocations: 2.601 MB / 0.9301 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.7965, allocations: 197.2 kB / 0.9303 GB, free: 5.527 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/0.8015, allocations: 4.081 MB / 0.9343 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002238/0.8017, allocations: 57.7 kB / 0.9343 GB, free: 1.379 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/0.8026, allocations: 0.9153 MB / 0.9352 GB, free: 464 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004933/0.8031, allocations: 0.492 MB / 0.9357 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/0.8035, allocations: 246.8 kB / 0.9359 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.8036, allocations: 349.9 kB / 0.9363 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.8047, allocations: 0.5686 MB / 0.9368 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.8063, allocations: 1.228 MB / 0.938 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.8087, allocations: 1.306 MB / 0.9393 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.8087, allocations: 0 / 0.9393 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004081/0.8128, allocations: 1.776 MB / 0.941 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.8128, allocations: 8.094 kB / 0.9411 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8128, allocations: 7.922 kB / 0.9411 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.8139, allocations: 212.1 kB / 0.9413 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.8154, allocations: 323.6 kB / 0.9416 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/0.8218, allocations: 6.781 MB / 0.9482 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8235, allocations: 179.4 kB / 0.9484 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.8236, allocations: 43.97 kB / 0.9484 GB, free: 2.16 MB / 0.7169 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.001081/0.8247, allocations: 485.4 kB / 0.9489 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/0.8251, allocations: 202.7 kB / 0.9491 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.8295, allocations: 2.138 MB / 0.9512 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.8295, allocations: 19.98 kB / 0.9512 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8295, allocations: 0 / 0.9512 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.8295, allocations: 15.91 kB / 0.9512 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007144/0.8367, allocations: 3.807 MB / 0.9549 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.8367, allocations: 3.938 kB / 0.9549 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/0.8381, allocations: 315.6 kB / 0.9552 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008713/0.839, allocations: 196.1 kB / 0.9554 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.8391, allocations: 39.97 kB / 0.9554 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006174/0.8452, allocations: 6.827 MB / 0.9621 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8452, allocations: 0 / 0.9621 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004537/0.8498, allocations: 2.018 MB / 0.9641 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.851, allocations: 462 kB / 0.9645 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.8512, allocations: 28 kB / 0.9645 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.8525, allocations: 115.3 kB / 0.9646 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.8527, allocations: 121 kB / 0.9648 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.8529, allocations: 71.94 kB / 0.9648 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004907/0.8578, allocations: 3.144 MB / 0.9679 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8578, allocations: 0 / 0.9679 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002147/0.8599, allocations: 0.6937 MB / 0.9686 GB, free: 12.76 MB / 0.7481 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.006818/0.8667, allocations: 3.235 MB / 0.9717 GB, free: 9.727 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003704/0.8704, allocations: 2 MB / 0.9737 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.8704, allocations: 0.6562 kB / 0.9737 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.8726, allocations: 1.368 MB / 0.975 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.8752, allocations: 0.5426 MB / 0.9756 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/0.9198, allocations: 20.88 MB / 0.9959 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.9219, allocations: 0.9612 MB / 0.9969 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.003409/0.9253, allocations: 0.533 MB / 0.9974 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002241/0.9276, allocations: 0.9054 MB / 0.9983 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of SimCode: time 1.313e-06/0.9276, allocations: 3.938 kB / 0.9983 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1426/1.07, allocations: 52.75 MB / 1.05 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.18, allocations: 4 kB / 1.05 GB, free: 9.934 MB / 0.8262 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 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: 20.126138064078987] Failed to read output from testmodel.py, exit status != 0: 16.420335478149354 16.444214584 15.688077806999999 Calling exit ...