Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside.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,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside",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.005079/0.005078, allocations: 98.97 kB / 15.73 MB, free: 6.012 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.001222/0.001223, allocations: 201.3 kB / 16.68 MB, free: 5.926 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.326/1.326, 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.7472/0.7472, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 62.81 kB / 0.5808 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1641, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5845/0.7486, allocations: 175.8 MB / 0.8308 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01394/0.7626, allocations: 10.77 MB / 0.8413 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.7639, allocations: 31.5 kB / 0.8414 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.765, allocations: 395.6 kB / 0.8418 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.768, allocations: 1.043 MB / 0.8428 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.7719, allocations: 1.67 MB / 0.8444 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.7744, allocations: 2.166 MB / 0.8465 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.7762, allocations: 1.404 MB / 0.8479 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.7792, allocations: 1.242 MB / 0.8491 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008923/0.7801, allocations: 0.7381 MB / 0.8498 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.7803, allocations: 144.5 kB / 0.85 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.7836, allocations: 1.395 MB / 0.8513 GB, free: 56 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.7841, allocations: 429.7 kB / 0.8517 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007991/0.7849, allocations: 0.7159 MB / 0.8524 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003877/0.7888, allocations: 2.446 MB / 0.8548 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.7888, allocations: 7.938 kB / 0.8548 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.532e-06/0.7888, allocations: 0 / 0.8548 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.631e-05/0.7888, allocations: 4 kB / 0.8548 GB, free: 13.54 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.003189/0.792, allocations: 1.818 MB / 0.8566 GB, free: 12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.7921, allocations: 8.031 kB / 0.8566 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.7923, allocations: 173 kB / 0.8568 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.7944, allocations: 354.7 kB / 0.8571 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.796, allocations: 0.9688 MB / 0.8581 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.971e-05/0.7961, allocations: 83.11 kB / 0.8581 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.7962, allocations: 108 kB / 0.8582 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/0.7984, allocations: 1.234 MB / 0.8595 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.7984, allocations: 3.938 kB / 0.8595 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.7985, allocations: 48 kB / 0.8595 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.7986, allocations: 28 kB / 0.8595 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.8009, allocations: 1.398 MB / 0.8609 GB, free: 7.477 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.005657/0.8065, allocations: 3.685 MB / 0.8645 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/0.8085, allocations: 1.12 MB / 0.8656 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/0.8092, allocations: 423 kB / 0.866 GB, free: 2.082 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/0.8099, allocations: 425.4 kB / 0.8664 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.8109, allocations: 0.5903 MB / 0.867 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=97): time 2.675e-06/0.8109, allocations: 0 / 0.867 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97): time 0.003701/0.8146, allocations: 1.49 MB / 0.8684 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.49e-05/0.8147, allocations: 192.9 kB / 0.8686 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/0.8158, allocations: 0.8439 MB / 0.8694 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-05/0.8159, allocations: 45.7 kB / 0.8695 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.8162, allocations: 0.4933 MB / 0.87 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.8165, allocations: 345 kB / 0.8703 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.8168, allocations: 182.6 kB / 0.8705 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8169, allocations: 338 kB / 0.8708 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/0.8176, allocations: 333.8 kB / 0.8711 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007477/0.8183, allocations: 469.1 kB / 0.8716 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.8197, allocations: 0.7974 MB / 0.8723 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.8197, allocations: 0 / 0.8723 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002227/0.822, allocations: 1.044 MB / 0.8734 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.822, allocations: 5.719 kB / 0.8734 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.822, allocations: 4 kB / 0.8734 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.8226, allocations: 84.86 kB / 0.8734 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/0.8235, allocations: 203.7 kB / 0.8736 GB, free: 9.965 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.8255, allocations: 1.648 MB / 0.8752 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000792/0.8263, allocations: 107.2 kB / 0.8753 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.8264, allocations: 40.12 kB / 0.8754 GB, free: 8.027 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.8269, allocations: 313.2 kB / 0.8757 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.8271, allocations: 119.2 kB / 0.8758 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002734/0.8298, allocations: 1.403 MB / 0.8772 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.8298, allocations: 8 kB / 0.8772 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.8299, allocations: 4 kB / 0.8772 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.8299, allocations: 3.984 kB / 0.8772 GB, free: 6.156 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.004259/0.8341, allocations: 2.663 MB / 0.8798 GB, free: 3.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.8342, allocations: 4 kB / 0.8798 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008516/0.835, allocations: 191.7 kB / 0.88 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004307/0.8355, allocations: 84.97 kB / 0.8801 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/0.8355, allocations: 23.98 kB / 0.8801 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.8373, allocations: 1.686 MB / 0.8817 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8373, allocations: 0 / 0.8817 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/0.8404, allocations: 1.726 MB / 0.8834 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005532/0.841, allocations: 332 kB / 0.8837 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.8411, allocations: 20 kB / 0.8837 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.8419, allocations: 69.91 kB / 0.8838 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.8421, allocations: 80.77 kB / 0.8839 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.8422, allocations: 39.98 kB / 0.8839 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007856/0.843, allocations: 0.5975 MB / 0.8845 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.843, allocations: 4 kB / 0.8845 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001104/0.8441, allocations: 422.9 kB / 0.8849 GB, free: 13.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005282/0.8494, allocations: 2.877 MB / 0.8877 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.8516, allocations: 0.9873 MB / 0.8887 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.8516, allocations: 320 / 0.8887 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.8528, allocations: 0.6056 MB / 0.8893 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.8552, allocations: 0.5135 MB / 0.8898 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.8699, allocations: 8.432 MB / 0.898 GB, free: 500 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007788/0.8707, allocations: 1.138 MB / 0.8991 GB, free: 15.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001291/0.872, allocations: 357.1 kB / 0.8995 GB, free: 14.97 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006828/0.8727, allocations: 495.2 kB / 0.8999 GB, free: 14.49 MB / 0.67 GB Notification: Performance of SimCode: time 7.01e-07/0.8727, allocations: 0 / 0.8999 GB, free: 14.49 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06514/0.9378, allocations: 31.26 MB / 0.9305 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.98, allocations: 3.984 kB / 0.9305 GB, free: 15.49 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IDEAS_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)