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.001639/0.001639, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002296/0.002296, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7509/0.7509, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 67.31 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1575, allocations: 80.21 MB / 0.5802 GB, free: 8.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.4529/0.6104, allocations: 175.8 MB / 0.7518 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01475/0.6252, allocations: 10.75 MB / 0.7623 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.6268, allocations: 35.81 kB / 0.7624 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.6281, allocations: 388.9 kB / 0.7628 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.6312, allocations: 1.009 MB / 0.7637 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.6356, allocations: 1.651 MB / 0.7654 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003089/0.6387, allocations: 2.167 MB / 0.7675 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001921/0.6407, allocations: 1.396 MB / 0.7688 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003132/0.6438, allocations: 1.198 MB / 0.77 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009869/0.6448, allocations: 0.7546 MB / 0.7707 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.6451, allocations: 144 kB / 0.7709 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002758/0.6478, allocations: 1.365 MB / 0.7722 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/0.6482, allocations: 426.8 kB / 0.7726 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006877/0.6489, allocations: 0.7152 MB / 0.7733 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.6522, allocations: 2.384 MB / 0.7756 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.6522, allocations: 0 / 0.7756 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6522, allocations: 3.938 kB / 0.7756 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.627e-05/0.6523, allocations: 3.938 kB / 0.7756 GB, free: 10.75 MB / 0.5919 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.002793/0.6551, allocations: 1.779 MB / 0.7774 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6551, allocations: 12.03 kB / 0.7774 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.6553, allocations: 169.1 kB / 0.7776 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.6574, allocations: 338 kB / 0.7779 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.6588, allocations: 0.9173 MB / 0.7788 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.887e-05/0.6589, allocations: 82.23 kB / 0.7789 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.659, allocations: 115.9 kB / 0.779 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.661, allocations: 1.234 MB / 0.7802 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.661, allocations: 0 / 0.7802 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.6611, allocations: 48 kB / 0.7802 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.6611, allocations: 24 kB / 0.7802 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.6633, allocations: 1.406 MB / 0.7816 GB, free: 4.457 MB / 0.5919 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.005198/0.6685, allocations: 3.71 MB / 0.7852 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.6704, allocations: 1.117 MB / 0.7863 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.6711, allocations: 423.6 kB / 0.7867 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007329/0.6719, allocations: 433.3 kB / 0.7871 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000988/0.6729, allocations: 0.5748 MB / 0.7877 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 2.384e-06/0.6729, allocations: 7.938 kB / 0.7877 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003901/0.6768, allocations: 1.489 MB / 0.7892 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.6769, allocations: 192.9 kB / 0.7893 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.6782, allocations: 0.84 MB / 0.7902 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6783, allocations: 45.7 kB / 0.7902 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004987/0.6788, allocations: 0.5002 MB / 0.7907 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.6791, allocations: 331.2 kB / 0.791 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/0.6794, allocations: 174.5 kB / 0.7912 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.6795, allocations: 337.9 kB / 0.7915 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.6802, allocations: 329.8 kB / 0.7918 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008435/0.6811, allocations: 473.7 kB / 0.7923 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.6826, allocations: 0.7899 MB / 0.793 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.6827, allocations: 7.938 kB / 0.793 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002903/0.6856, allocations: 1.037 MB / 0.7941 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.6856, allocations: 11.98 kB / 0.7941 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6856, allocations: 0 / 0.7941 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.6863, allocations: 80.88 kB / 0.7942 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009843/0.6873, allocations: 211.7 kB / 0.7944 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/0.6898, allocations: 1.646 MB / 0.796 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.6909, allocations: 105.3 kB / 0.7961 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.89e-05/0.691, allocations: 47.16 kB / 0.7961 GB, free: 5.02 MB / 0.6075 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.0006203/0.6916, allocations: 308.6 kB / 0.7964 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002528/0.6919, allocations: 118.5 kB / 0.7965 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.6949, allocations: 1.397 MB / 0.7979 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.695, allocations: 12 kB / 0.7979 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.695, allocations: 0 / 0.7979 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.695, allocations: 3.984 kB / 0.7979 GB, free: 3.164 MB / 0.6075 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.004613/0.6996, allocations: 2.658 MB / 0.8005 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.6996, allocations: 0 / 0.8005 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.7005, allocations: 195.7 kB / 0.8007 GB, free: 204 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004811/0.701, allocations: 76.97 kB / 0.8007 GB, free: 124 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.7011, allocations: 31.98 kB / 0.8008 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.7029, allocations: 1.674 MB / 0.8024 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.7029, allocations: 4.031 kB / 0.8024 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/0.7061, allocations: 1.723 MB / 0.8041 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/0.7065, allocations: 327.5 kB / 0.8044 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.7067, allocations: 31.88 kB / 0.8044 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007879/0.7075, allocations: 59.94 kB / 0.8045 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7076, allocations: 72.89 kB / 0.8046 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.117e-05/0.7077, allocations: 47.91 kB / 0.8046 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007919/0.7085, allocations: 0.5975 MB / 0.8052 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7085, allocations: 0 / 0.8052 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001142/0.7097, allocations: 423.1 kB / 0.8056 GB, free: 10.94 MB / 0.6231 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.005098/0.7148, allocations: 2.86 MB / 0.8084 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002874/0.7177, allocations: 1.234 MB / 0.8096 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7177, allocations: 0 / 0.8096 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.7188, allocations: 0.6098 MB / 0.8102 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.7212, allocations: 0.5115 MB / 0.8107 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.7366, allocations: 8.859 MB / 0.8193 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008511/0.7374, allocations: 1.139 MB / 0.8205 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001496/0.739, allocations: 357.1 kB / 0.8208 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007654/0.7397, allocations: 487.2 kB / 0.8213 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of SimCode: time 1.704e-06/0.7398, allocations: 4 kB / 0.8213 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06939/0.8092, allocations: 30.97 MB / 0.8515 GB, free: 12.17 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.48, allocations: 0 / 0.8515 GB, free: 12.17 MB / 0.67 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)