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.006796/0.006796, allocations: 106.1 kB / 15.74 MB, free: 6.492 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.001629/0.001629, allocations: 197.4 kB / 16.68 MB, free: 6.363 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001454, allocations: 66.52 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1721, allocations: 80.2 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.5798/0.7519, allocations: 166.8 MB / 0.8221 GB, free: 2.922 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.7752, allocations: 16.82 MB / 0.8385 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.777, allocations: 27.75 kB / 0.8385 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.7785, allocations: 0.5167 MB / 0.839 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004569/0.7831, allocations: 1.502 MB / 0.8405 GB, free: 2.625 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.7868, allocations: 1.283 MB / 0.8418 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003534/0.7904, allocations: 2.366 MB / 0.8441 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/0.7934, allocations: 1.896 MB / 0.8459 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.7975, allocations: 1.307 MB / 0.8472 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.7997, allocations: 0.8975 MB / 0.8481 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000584/0.8003, allocations: 196.9 kB / 0.8483 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005127/0.8054, allocations: 1.415 MB / 0.8496 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.8061, allocations: 0.5256 MB / 0.8501 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.8079, allocations: 0.9417 MB / 0.8511 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005712/0.8137, allocations: 2.943 MB / 0.8539 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.8137, allocations: 3.125 kB / 0.8539 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.8137, allocations: 0 / 0.8539 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.773e-05/0.8138, allocations: 0.8438 kB / 0.8539 GB, free: 1.625 MB / 0.6387 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.003568/0.8174, allocations: 2.209 MB / 0.8561 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.8174, allocations: 11.09 kB / 0.8561 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.8177, allocations: 243.3 kB / 0.8563 GB, free: 492 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003396/0.8211, allocations: 0.5137 MB / 0.8568 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.8228, allocations: 1.095 MB / 0.8579 GB, free: 4 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-05/0.8229, allocations: 123.2 kB / 0.858 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/0.8231, allocations: 161.9 kB / 0.8582 GB, free: 0 / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.8261, allocations: 1.773 MB / 0.8599 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.8262, allocations: 4.906 kB / 0.8599 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.8264, allocations: 78.44 kB / 0.86 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.8264, allocations: 41.53 kB / 0.86 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.8293, allocations: 1.823 MB / 0.8618 GB, free: 15.8 MB / 0.6544 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.00809/0.8374, allocations: 5.001 MB / 0.8667 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.8401, allocations: 1.668 MB / 0.8683 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.8413, allocations: 0.6177 MB / 0.8689 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009792/0.8423, allocations: 0.8049 MB / 0.8697 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/0.844, allocations: 0.8156 MB / 0.8705 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=137): time 5.38e-06/0.844, allocations: 0 / 0.8705 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=137): time 0.006187/0.8502, allocations: 2.441 MB / 0.8729 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.8503, allocations: 195.9 kB / 0.8731 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.8515, allocations: 0.7923 MB / 0.8739 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.8517, allocations: 56.83 kB / 0.8739 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005552/0.8523, allocations: 0.6362 MB / 0.8745 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.8528, allocations: 480 kB / 0.875 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.8531, allocations: 225 kB / 0.8752 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8533, allocations: 351.1 kB / 0.8755 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009821/0.8543, allocations: 441 kB / 0.876 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.8555, allocations: 0.6013 MB / 0.8766 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.8576, allocations: 1.045 MB / 0.8776 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.8577, allocations: 0 / 0.8776 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003476/0.8611, allocations: 1.422 MB / 0.879 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.385e-05/0.8612, allocations: 13.19 kB / 0.879 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8612, allocations: 1.781 kB / 0.879 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009103/0.8621, allocations: 191.7 kB / 0.8792 GB, free: 8.434 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.8636, allocations: 317.8 kB / 0.8795 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005663/0.8693, allocations: 7.287 MB / 0.8866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.8707, allocations: 139 kB / 0.8867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.871, allocations: 46.95 kB / 0.8868 GB, free: 1.145 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.000939/0.8719, allocations: 362 kB / 0.8871 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/0.8724, allocations: 133.3 kB / 0.8872 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004123/0.8765, allocations: 1.744 MB / 0.8889 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.8765, allocations: 16.47 kB / 0.8889 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.8766, allocations: 2.656 kB / 0.889 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.8766, allocations: 9.047 kB / 0.889 GB, free: 144 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006161/0.8827, allocations: 3.257 MB / 0.8921 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.8828, allocations: 0 / 0.8921 GB, free: 14.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/0.8842, allocations: 308.8 kB / 0.8924 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007518/0.8849, allocations: 185.5 kB / 0.8926 GB, free: 14.52 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.8851, allocations: 41.5 kB / 0.8927 GB, free: 14.49 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005366/0.8904, allocations: 7.316 MB / 0.8998 GB, free: 7.066 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8905, allocations: 3.938 kB / 0.8998 GB, free: 7.062 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003713/0.8942, allocations: 1.632 MB / 0.9014 GB, free: 6.156 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/0.895, allocations: 386.8 kB / 0.9018 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.8953, allocations: 30.44 kB / 0.9018 GB, free: 5.812 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.8966, allocations: 91.62 kB / 0.9019 GB, free: 5.766 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/0.8968, allocations: 97.17 kB / 0.902 GB, free: 5.715 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001707/0.897, allocations: 70.28 kB / 0.902 GB, free: 5.688 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008348/0.8978, allocations: 0.5475 MB / 0.9026 GB, free: 5.363 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8978, allocations: 0 / 0.9026 GB, free: 5.363 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00175/0.8996, allocations: 0.5554 MB / 0.9031 GB, free: 5.195 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.005363/0.905, allocations: 2.782 MB / 0.9058 GB, free: 3.582 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.9084, allocations: 1.762 MB / 0.9076 GB, free: 2.254 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.9084, allocations: 4.797 kB / 0.9076 GB, free: 2.25 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.9106, allocations: 1.26 MB / 0.9088 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002772/0.9133, allocations: 0.4955 MB / 0.9093 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02113/0.9345, allocations: 9.599 MB / 0.9186 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.9359, allocations: 1.273 MB / 0.9199 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00203/0.938, allocations: 413.8 kB / 0.9203 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/0.939, allocations: 0.6203 MB / 0.9209 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of SimCode: time 1.392e-06/0.9391, allocations: 7.938 kB / 0.9209 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/1.018, allocations: 35.29 MB / 0.9554 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.76, allocations: 13.38 kB / 0.9554 GB, free: 1.625 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)