Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.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.0007372/0.0007372, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0008449/0.0008449, allocations: 212.1 kB / 22.25 MB, free: 3.727 MB / 13.93 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 0.9044/0.9044, allocations: 230.6 MB / 256 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7709/0.7709, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0008925/0.0008925, allocations: 70.92 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4554/0.4563, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1386/0.5949, allocations: 148.2 MB / 0.9625 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.6115, allocations: 15.94 MB / 0.9781 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.6131, allocations: 43.62 kB / 0.9782 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.6144, allocations: 0.5428 MB / 0.9787 GB, free: 324 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.6182, allocations: 1.663 MB / 0.9803 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.6205, allocations: 1.352 MB / 0.9816 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002884/0.6234, allocations: 2.719 MB / 0.9843 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0018/0.6252, allocations: 1.524 MB / 0.9858 GB, free: 9 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.6282, allocations: 1.429 MB / 0.9872 GB, free: 7.617 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.6295, allocations: 0.9098 MB / 0.9881 GB, free: 6.703 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002932/0.6298, allocations: 208 kB / 0.9883 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.6323, allocations: 1.291 MB / 0.9895 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.6327, allocations: 0.5685 MB / 0.9901 GB, free: 4.637 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007713/0.6334, allocations: 0.8594 MB / 0.9909 GB, free: 3.773 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.004263/0.6377, allocations: 3.168 MB / 0.994 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6377, allocations: 0 / 0.994 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6377, allocations: 0 / 0.994 GB, free: 0.5938 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.984e-05/0.6378, allocations: 7.938 kB / 0.994 GB, free: 0.5859 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.002766/0.6405, allocations: 2.304 MB / 0.9963 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.6406, allocations: 8.031 kB / 0.9963 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001979/0.6408, allocations: 249 kB / 0.9965 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002159/0.6429, allocations: 0.5763 MB / 0.9971 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6442, allocations: 1.061 MB / 0.9981 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.6443, allocations: 127.4 kB / 0.9982 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.6444, allocations: 168 kB / 0.9984 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.6467, allocations: 2.596 MB / 1.001 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.6468, allocations: 3.938 kB / 1.001 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.6469, allocations: 76 kB / 1.001 GB, free: 9.102 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.107e-05/0.6469, allocations: 44 kB / 1.001 GB, free: 9.059 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.6489, allocations: 1.828 MB / 1.003 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.6535, allocations: 3.963 MB / 1.007 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.6552, allocations: 1.366 MB / 1.008 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.6559, allocations: 0.5972 MB / 1.009 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005214/0.6564, allocations: 173.1 kB / 1.009 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.6577, allocations: 1.499 MB / 1.01 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=146): time 3.486e-06/0.6577, allocations: 0 / 1.01 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of matching and sorting (n=146): time 0.003443/0.6612, allocations: 2.184 MB / 1.012 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.357e-05/0.6612, allocations: 205.2 kB / 1.013 GB, free: 12.94 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/0.6621, allocations: 0.8672 MB / 1.013 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.6621, allocations: 57.7 kB / 1.013 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/0.6625, allocations: 0.6655 MB / 1.014 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/0.6628, allocations: 0.4996 MB / 1.015 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.663, allocations: 234.8 kB / 1.015 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.6631, allocations: 353.9 kB / 1.015 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.6637, allocations: 478.4 kB / 1.016 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.6645, allocations: 0.856 MB / 1.016 GB, free: 8.797 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.6659, allocations: 1.095 MB / 1.018 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.6659, allocations: 8 kB / 1.018 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00199/0.6679, allocations: 1.504 MB / 1.019 GB, free: 6.16 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6679, allocations: 5.406 kB / 1.019 GB, free: 6.156 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6679, allocations: 3.984 kB / 1.019 GB, free: 6.152 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004906/0.6684, allocations: 192.2 kB / 1.019 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007724/0.6692, allocations: 331.6 kB / 1.02 GB, free: 5.625 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.6729, allocations: 6.751 MB / 1.026 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/0.6736, allocations: 147.1 kB / 1.026 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.6736, allocations: 51.97 kB / 1.026 GB, free: 14.1 MB / 0.8073 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 (148): * Single equations (assignments): 143 * 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.0006562/0.6743, allocations: 381.5 kB / 1.027 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.6745, allocations: 143.1 kB / 1.027 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.6768, allocations: 1.851 MB / 1.029 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.6768, allocations: 16 kB / 1.029 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.6768, allocations: 0 / 1.029 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.6768, allocations: 7.969 kB / 1.029 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00407/0.6809, allocations: 3.191 MB / 1.032 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.6809, allocations: 0 / 1.032 GB, free: 8.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007575/0.6817, allocations: 315.5 kB / 1.032 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003941/0.6821, allocations: 180.2 kB / 1.032 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.6821, allocations: 43.95 kB / 1.032 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.6858, allocations: 6.78 MB / 1.039 GB, free: 0.5117 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6859, allocations: 4 kB / 1.039 GB, free: 0.5078 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.6884, allocations: 1.722 MB / 1.041 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.6889, allocations: 342.4 kB / 1.041 GB, free: 14.42 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.689, allocations: 27.94 kB / 1.041 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006087/0.6896, allocations: 106.5 kB / 1.041 GB, free: 14.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.6898, allocations: 117.1 kB / 1.041 GB, free: 14.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.78e-05/0.6899, allocations: 75.88 kB / 1.041 GB, free: 14.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006243/0.6905, allocations: 0.5947 MB / 1.042 GB, free: 13.49 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6905, allocations: 3.938 kB / 1.042 GB, free: 13.49 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001161/0.6917, allocations: 0.6157 MB / 1.042 GB, free: 12.87 MB / 0.823 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.003704/0.6954, allocations: 2.904 MB / 1.045 GB, free: 10.17 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002227/0.6976, allocations: 1.781 MB / 1.047 GB, free: 8.324 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6976, allocations: 0.6562 kB / 1.047 GB, free: 8.32 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.6988, allocations: 1.262 MB / 1.048 GB, free: 6.996 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.7006, allocations: 0.5391 MB / 1.049 GB, free: 6.492 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.7126, allocations: 10.03 MB / 1.059 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.7132, allocations: 0.7216 MB / 1.059 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00102/0.7142, allocations: 434.6 kB / 1.06 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.7148, allocations: 0.6633 MB / 1.06 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of SimCode: time 1.833e-06/0.7148, allocations: 0 / 1.06 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07093/0.7857, allocations: 40.91 MB / 1.1 GB, free: 1.941 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.391/10.18, allocations: 6.172 kB / 1.1 GB, free: 1.938 MB / 0.8698 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise_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 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.213245548307896] Failed to read output from testmodel.py, exit status != 0: 10.336007756181061 10.349827914 9.7093374 Calling exit ...