Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside,fileNamePrefix="IDEAS_dev_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.00767/0.00767, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001188/0.001188, allocations: 193 kB / 16.67 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7784/0.7784, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 68.77 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2043, allocations: 80.92 MB / 0.6642 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5842/0.7885, allocations: 175.8 MB / 0.8358 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.8029, allocations: 10.75 MB / 0.8463 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.8041, allocations: 31.97 kB / 0.8463 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.8053, allocations: 397 kB / 0.8467 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.8082, allocations: 1.037 MB / 0.8477 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.8127, allocations: 1.674 MB / 0.8494 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002607/0.8153, allocations: 2.17 MB / 0.8515 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001917/0.8172, allocations: 1.401 MB / 0.8529 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.8205, allocations: 1.25 MB / 0.8541 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.8215, allocations: 0.7371 MB / 0.8548 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.8217, allocations: 145 kB / 0.8549 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.8246, allocations: 1.401 MB / 0.8563 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003995/0.825, allocations: 427.8 kB / 0.8567 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007457/0.8257, allocations: 0.7195 MB / 0.8574 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003788/0.8295, allocations: 2.446 MB / 0.8598 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8296, allocations: 0 / 0.8598 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8296, allocations: 0 / 0.8598 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.632e-05/0.8296, allocations: 0 / 0.8598 GB, free: 7.086 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.003175/0.8328, allocations: 1.836 MB / 0.8616 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.8328, allocations: 9.109 kB / 0.8616 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002193/0.8331, allocations: 173.1 kB / 0.8618 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.8352, allocations: 350.8 kB / 0.8621 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.837, allocations: 0.9571 MB / 0.863 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.8371, allocations: 82.23 kB / 0.8631 GB, free: 3.578 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001846/0.8373, allocations: 116 kB / 0.8632 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002192/0.8395, allocations: 1.238 MB / 0.8644 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.8395, allocations: 0 / 0.8644 GB, free: 2.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.8397, allocations: 48 kB / 0.8645 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.8397, allocations: 28 kB / 0.8645 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.8419, allocations: 1.398 MB / 0.8659 GB, free: 0.6797 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.005872/0.8478, allocations: 3.676 MB / 0.8695 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.8498, allocations: 1.12 MB / 0.8706 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007097/0.8506, allocations: 423.7 kB / 0.871 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/0.8513, allocations: 421.4 kB / 0.8714 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/0.8524, allocations: 0.5865 MB / 0.8719 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=97): time 2.875e-06/0.8524, allocations: 0 / 0.8719 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=97): time 0.003839/0.8562, allocations: 1.489 MB / 0.8734 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.8564, allocations: 196.9 kB / 0.8736 GB, free: 8.438 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.8575, allocations: 0.8438 MB / 0.8744 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.8576, allocations: 41.7 kB / 0.8744 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.858, allocations: 0.5011 MB / 0.8749 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/0.8583, allocations: 345 kB / 0.8753 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.8586, allocations: 182.6 kB / 0.8754 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.8588, allocations: 341.9 kB / 0.8758 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.8594, allocations: 325.8 kB / 0.8761 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007629/0.8602, allocations: 478.8 kB / 0.8765 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.8616, allocations: 0.7898 MB / 0.8773 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.8616, allocations: 0 / 0.8773 GB, free: 4.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002325/0.8639, allocations: 1.044 MB / 0.8783 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.864, allocations: 7.938 kB / 0.8783 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.864, allocations: 4.094 kB / 0.8783 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005741/0.8646, allocations: 84.77 kB / 0.8784 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/0.8655, allocations: 207.8 kB / 0.8786 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.8675, allocations: 1.645 MB / 0.8802 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.8684, allocations: 118.1 kB / 0.8803 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.8685, allocations: 39.97 kB / 0.8804 GB, free: 1.219 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.0005013/0.869, allocations: 305.5 kB / 0.8807 GB, free: 0.9102 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.8692, allocations: 115.2 kB / 0.8808 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/0.872, allocations: 1.407 MB / 0.8821 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.872, allocations: 12 kB / 0.8822 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.872, allocations: 0 / 0.8822 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.872, allocations: 3.984 kB / 0.8822 GB, free: 15.36 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 postOpt removeSimpleEquations (simulation): time 0.004377/0.8764, allocations: 2.663 MB / 0.8848 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.8764, allocations: 7.984 kB / 0.8848 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008374/0.8773, allocations: 195.9 kB / 0.885 GB, free: 12.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004305/0.8777, allocations: 72.8 kB / 0.885 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.8778, allocations: 35.97 kB / 0.8851 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.8796, allocations: 1.674 MB / 0.8867 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8796, allocations: 3.984 kB / 0.8867 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/0.8827, allocations: 1.73 MB / 0.8884 GB, free: 8.684 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.8832, allocations: 324.3 kB / 0.8887 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.8833, allocations: 31.94 kB / 0.8887 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.8841, allocations: 67.92 kB / 0.8888 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.8843, allocations: 76.83 kB / 0.8889 GB, free: 8.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.496e-05/0.8844, allocations: 39.98 kB / 0.8889 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007468/0.8851, allocations: 0.6014 MB / 0.8895 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8851, allocations: 3.938 kB / 0.8895 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001037/0.8862, allocations: 422.9 kB / 0.8899 GB, free: 7.105 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.004655/0.8908, allocations: 2.872 MB / 0.8927 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.8928, allocations: 0.9914 MB / 0.8937 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8928, allocations: 0 / 0.8937 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.8938, allocations: 0.6099 MB / 0.8943 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.896, allocations: 0.5047 MB / 0.8948 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/0.9099, allocations: 8.427 MB / 0.903 GB, free: 9.641 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/0.9106, allocations: 1.138 MB / 0.9041 GB, free: 8.473 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0012/0.9118, allocations: 357.1 kB / 0.9044 GB, free: 8.121 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/0.9125, allocations: 0.4913 MB / 0.9049 GB, free: 7.629 MB / 0.67 GB Notification: Performance of SimCode: time 1.293e-06/0.9126, allocations: 0 / 0.9049 GB, free: 7.629 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0728/0.9854, allocations: 31.26 MB / 0.9354 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.84, allocations: 10.55 kB / 0.9355 GB, free: 8.664 MB / 0.7012 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)