Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.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.001332/0.001332, allocations: 119.2 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.00156/0.00156, 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9233/0.9233, allocations: 150 MB / 463.2 MB, free: 10.5 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_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles",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.002092/0.002092, allocations: 62.72 kB / 0.6413 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1841, allocations: 89.17 MB / 0.7283 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5517/0.7358, allocations: 172.1 MB / 0.8964 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02655/0.7623, allocations: 17.75 MB / 0.9138 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.7641, allocations: 43.62 kB / 0.9138 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.7662, allocations: 0.6012 MB / 0.9144 GB, free: 8.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005842/0.7721, allocations: 1.853 MB / 0.9162 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004195/0.7763, allocations: 1.503 MB / 0.9177 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004568/0.7808, allocations: 2.926 MB / 0.9205 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003046/0.7839, allocations: 1.611 MB / 0.9221 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004967/0.7888, allocations: 1.512 MB / 0.9236 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002161/0.791, allocations: 1.159 MB / 0.9247 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007507/0.7917, allocations: 224 kB / 0.9249 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003925/0.7957, allocations: 1.677 MB / 0.9265 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.7968, allocations: 0.8218 MB / 0.9274 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002271/0.799, allocations: 1.294 MB / 0.9286 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006449/0.8055, allocations: 3.806 MB / 0.9323 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8055, allocations: 4 kB / 0.9323 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8055, allocations: 0 / 0.9323 GB, free: 6.414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001165/0.8056, allocations: 0 / 0.9323 GB, free: 6.414 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.006705/0.8123, allocations: 2.984 MB / 0.9352 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8124, allocations: 15.97 kB / 0.9353 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004622/0.8128, allocations: 248.9 kB / 0.9355 GB, free: 3.113 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.8174, allocations: 0.6345 MB / 0.9361 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005099/0.8225, allocations: 3.383 MB / 0.9394 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.8226, allocations: 135.4 kB / 0.9396 GB, free: 14.92 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003644/0.823, allocations: 171.9 kB / 0.9397 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004057/0.827, allocations: 1.945 MB / 0.9416 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.8271, allocations: 4 kB / 0.9416 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/0.8273, allocations: 79.92 kB / 0.9417 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.8273, allocations: 40 kB / 0.9417 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.8313, allocations: 2.117 MB / 0.9438 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.8431, allocations: 6.855 MB / 0.9505 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.8467, allocations: 1.748 MB / 0.9522 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.8481, allocations: 0.7139 MB / 0.9529 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004772/0.8486, allocations: 125.2 kB / 0.953 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/0.8505, allocations: 1.013 MB / 0.954 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 3.277e-06/0.8505, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.007156/0.8577, allocations: 2.633 MB / 0.9566 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.8578, allocations: 205.2 kB / 0.9568 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/0.8635, allocations: 4.127 MB / 0.9608 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000331/0.8639, allocations: 61.69 kB / 0.9609 GB, free: 8.551 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009975/0.8649, allocations: 0.9079 MB / 0.9617 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007015/0.8656, allocations: 0.4957 MB / 0.9622 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004914/0.866, allocations: 242.8 kB / 0.9625 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.8662, allocations: 353.9 kB / 0.9628 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.8674, allocations: 0.5843 MB / 0.9634 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.8689, allocations: 0.8069 MB / 0.9642 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.8714, allocations: 1.337 MB / 0.9655 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8715, allocations: 3.938 kB / 0.9655 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004321/0.8758, allocations: 1.804 MB / 0.9672 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8758, allocations: 4 kB / 0.9672 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8758, allocations: 7.984 kB / 0.9672 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.8769, allocations: 208.1 kB / 0.9674 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.8785, allocations: 327.6 kB / 0.9678 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.8854, allocations: 6.827 MB / 0.9744 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.8871, allocations: 170.9 kB / 0.9746 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.8873, allocations: 55.89 kB / 0.9746 GB, free: 9.734 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 (145): * Single equations (assignments): 140 * 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.001167/0.8885, allocations: 497.5 kB / 0.9751 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/0.8891, allocations: 206.7 kB / 0.9753 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.8941, allocations: 2.15 MB / 0.9774 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-05/0.8941, allocations: 16 kB / 0.9774 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.8941, allocations: 4 kB / 0.9774 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/0.8941, allocations: 7.969 kB / 0.9774 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008053/0.9022, allocations: 4.121 MB / 0.9815 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.9022, allocations: 3.938 kB / 0.9815 GB, free: 2.637 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9037, allocations: 323.6 kB / 0.9818 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008876/0.9046, allocations: 200.1 kB / 0.982 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.9047, allocations: 39.97 kB / 0.982 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/0.9112, allocations: 6.862 MB / 0.9887 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9112, allocations: 0 / 0.9887 GB, free: 10.62 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.9158, allocations: 2.03 MB / 0.9907 GB, free: 8.559 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.917, allocations: 466 kB / 0.9911 GB, free: 8.102 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.9174, allocations: 39.88 kB / 0.9912 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.9189, allocations: 107.9 kB / 0.9913 GB, free: 7.957 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.9191, allocations: 125 kB / 0.9914 GB, free: 7.832 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.9193, allocations: 67.95 kB / 0.9915 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003908/0.9232, allocations: 3.173 MB / 0.9946 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9232, allocations: 0 / 0.9946 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002168/0.9254, allocations: 0.6899 MB / 0.9952 GB, free: 3.91 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.007082/0.9325, allocations: 3.215 MB / 0.9984 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003733/0.9362, allocations: 2.023 MB / 1 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.9362, allocations: 4.641 kB / 1 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/0.9384, allocations: 1.375 MB / 1.002 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.9413, allocations: 0.5585 MB / 1.002 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/0.9758, allocations: 21.26 MB / 1.023 GB, free: 7.309 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.9774, allocations: 1.544 MB / 1.025 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001845/0.9792, allocations: 0.5252 MB / 1.025 GB, free: 5.199 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/0.9806, allocations: 0.9171 MB / 1.026 GB, free: 4.281 MB / 0.795 GB Notification: Performance of SimCode: time 8.01e-07/0.9806, allocations: 3.938 kB / 1.026 GB, free: 4.277 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.118, allocations: 51.14 MB / 1.076 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.55/17.67, allocations: 10.06 kB / 1.076 GB, free: 1.523 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.83336334489286] Failed to read output from testmodel.py, exit status != 0: 18.208143308991566 18.221255468 17.412777473 Calling exit ...