Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004541/0.004541, allocations: 101.2 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 194.3 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8087/0.8087, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 63.17 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1441, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4999/0.6441, allocations: 166.8 MB / 0.8221 GB, free: 6.371 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.665, allocations: 16.82 MB / 0.8385 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.6669, allocations: 29.59 kB / 0.8385 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.6686, allocations: 0.5021 MB / 0.839 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004717/0.6734, allocations: 1.472 MB / 0.8405 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.6767, allocations: 1.27 MB / 0.8417 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003251/0.68, allocations: 2.364 MB / 0.844 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.6824, allocations: 1.89 MB / 0.8459 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004026/0.6864, allocations: 1.279 MB / 0.8471 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.6879, allocations: 0.9009 MB / 0.848 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.6882, allocations: 192.9 kB / 0.8482 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.691, allocations: 1.404 MB / 0.8495 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.6916, allocations: 0.5285 MB / 0.8501 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.6926, allocations: 0.9486 MB / 0.851 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004549/0.6972, allocations: 2.934 MB / 0.8538 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6972, allocations: 3 kB / 0.8539 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6972, allocations: 0 / 0.8539 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.923e-05/0.6973, allocations: 0 / 0.8539 GB, free: 14.5 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003737/0.701, allocations: 2.219 MB / 0.856 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7011, allocations: 15.97 kB / 0.856 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000283/0.7014, allocations: 240.6 kB / 0.8563 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.7048, allocations: 0.5061 MB / 0.8568 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.7069, allocations: 1.099 MB / 0.8578 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.7071, allocations: 119.3 kB / 0.8579 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002251/0.7073, allocations: 163.9 kB / 0.8581 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.7109, allocations: 1.78 MB / 0.8598 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.711, allocations: 0 / 0.8598 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.7111, allocations: 72 kB / 0.8599 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.7112, allocations: 44 kB / 0.8599 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003504/0.7147, allocations: 1.827 MB / 0.8617 GB, free: 6.617 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008355/0.7231, allocations: 4.998 MB / 0.8666 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003035/0.7261, allocations: 1.66 MB / 0.8682 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.7273, allocations: 0.628 MB / 0.8688 GB, free: 15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/0.7283, allocations: 0.8078 MB / 0.8696 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/0.7299, allocations: 0.8178 MB / 0.8704 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 3.216e-06/0.7299, allocations: 0 / 0.8704 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006241/0.7362, allocations: 2.432 MB / 0.8728 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.7363, allocations: 193.2 kB / 0.873 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.7375, allocations: 0.7907 MB / 0.8738 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.7376, allocations: 61.7 kB / 0.8738 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/0.7382, allocations: 0.6381 MB / 0.8744 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/0.7386, allocations: 483.8 kB / 0.8749 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.739, allocations: 218.8 kB / 0.8751 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.7392, allocations: 361.8 kB / 0.8755 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009668/0.7401, allocations: 442.4 kB / 0.8759 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.7413, allocations: 0.6028 MB / 0.8765 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002113/0.7434, allocations: 1.04 MB / 0.8775 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.7434, allocations: 0 / 0.8775 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003432/0.7468, allocations: 1.422 MB / 0.8789 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.7469, allocations: 7.938 kB / 0.8789 GB, free: 4.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7469, allocations: 4 kB / 0.8789 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009363/0.7478, allocations: 192.2 kB / 0.8791 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.7493, allocations: 323.5 kB / 0.8794 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/0.7561, allocations: 7.278 MB / 0.8865 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.7573, allocations: 139.2 kB / 0.8866 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.7575, allocations: 55.91 kB / 0.8867 GB, free: 11.56 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * 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.0007707/0.7582, allocations: 354.4 kB / 0.887 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.7585, allocations: 135.2 kB / 0.8871 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.7626, allocations: 1.744 MB / 0.8888 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/0.7627, allocations: 16 kB / 0.8889 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.7627, allocations: 4 kB / 0.8889 GB, free: 9.281 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.7627, allocations: 7.969 kB / 0.8889 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/0.7689, allocations: 3.257 MB / 0.8921 GB, free: 5.938 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7689, allocations: 3.938 kB / 0.8921 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/0.7703, allocations: 319.5 kB / 0.8924 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007756/0.7711, allocations: 172.2 kB / 0.8925 GB, free: 5.438 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.7712, allocations: 39.97 kB / 0.8926 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006645/0.7779, allocations: 7.319 MB / 0.8997 GB, free: 13.38 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.778, allocations: 3.938 kB / 0.8997 GB, free: 13.37 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.7819, allocations: 1.623 MB / 0.9013 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007289/0.7827, allocations: 391.8 kB / 0.9017 GB, free: 11.31 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.7829, allocations: 24.19 kB / 0.9017 GB, free: 11.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.7839, allocations: 97.16 kB / 0.9018 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.7842, allocations: 105.1 kB / 0.9019 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.7844, allocations: 67.95 kB / 0.902 GB, free: 11.03 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008066/0.7852, allocations: 0.5578 MB / 0.9025 GB, free: 10.46 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7852, allocations: 0 / 0.9025 GB, free: 10.46 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00145/0.7866, allocations: 0.5493 MB / 0.903 GB, free: 9.906 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.006019/0.7927, allocations: 2.786 MB / 0.9058 GB, free: 7.309 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.796, allocations: 1.754 MB / 0.9075 GB, free: 5.488 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.7961, allocations: 0.7969 kB / 0.9075 GB, free: 5.488 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.7981, allocations: 1.266 MB / 0.9087 GB, free: 4.16 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.8004, allocations: 0.499 MB / 0.9092 GB, free: 3.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.8186, allocations: 9.586 MB / 0.9186 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.8196, allocations: 1.269 MB / 0.9198 GB, free: 8.625 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001572/0.8212, allocations: 429.8 kB / 0.9202 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000906/0.8221, allocations: 0.6242 MB / 0.9208 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/0.8221, allocations: 0 / 0.9208 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0872/0.9093, allocations: 35.29 MB / 0.9553 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.94, allocations: 10.22 kB / 0.9553 GB, free: 4.574 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)