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.008107/0.008107, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.002049/0.002049, allocations: 206.6 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9773/0.9773, allocations: 135.6 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 67.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4227, allocations: 81.01 MB / 0.6649 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.2095/0.6322, allocations: 175.8 MB / 0.8365 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.6477, allocations: 10.75 MB / 0.847 GB, free: 5.691 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.649, allocations: 31.81 kB / 0.8471 GB, free: 5.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.6503, allocations: 388.9 kB / 0.8474 GB, free: 5.277 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003312/0.6536, allocations: 1.017 MB / 0.8484 GB, free: 4.258 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004454/0.6581, allocations: 1.659 MB / 0.85 GB, free: 2.605 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.6615, allocations: 2.175 MB / 0.8522 GB, free: 432 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.6637, allocations: 1.404 MB / 0.8535 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.6671, allocations: 1.197 MB / 0.8547 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.6682, allocations: 0.7352 MB / 0.8554 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.6684, allocations: 144 kB / 0.8556 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.6712, allocations: 1.4 MB / 0.8569 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004078/0.6716, allocations: 430.7 kB / 0.8573 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007379/0.6724, allocations: 0.7151 MB / 0.858 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003695/0.6761, allocations: 2.457 MB / 0.8604 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6761, allocations: 0 / 0.8604 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.502e-06/0.6761, allocations: 0 / 0.8604 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.6761, allocations: 0 / 0.8604 GB, free: 7.906 MB / 0.6856 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.002995/0.6791, allocations: 1.828 MB / 0.8622 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.6792, allocations: 11.97 kB / 0.8622 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.6794, allocations: 173 kB / 0.8624 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.6815, allocations: 350.8 kB / 0.8627 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.683, allocations: 0.9573 MB / 0.8637 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.6831, allocations: 78.23 kB / 0.8637 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.6832, allocations: 116 kB / 0.8639 GB, free: 4.293 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.6853, allocations: 1.234 MB / 0.8651 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6854, allocations: 0 / 0.8651 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6855, allocations: 48 kB / 0.8651 GB, free: 2.945 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.6855, allocations: 28 kB / 0.8651 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.6878, allocations: 1.402 MB / 0.8665 GB, free: 1.508 MB / 0.6856 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.3072/0.995, allocations: 3.669 MB / 0.8701 GB, free: 191 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.9971, allocations: 1.129 MB / 0.8712 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.9979, allocations: 423.1 kB / 0.8716 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006783/0.9986, allocations: 422.9 kB / 0.872 GB, free: 190 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/0.9997, allocations: 0.5896 MB / 0.8726 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=97): time 2.785e-06/0.9997, allocations: 0 / 0.8726 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=97): time 0.003961/1.004, allocations: 1.486 MB / 0.874 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.004, allocations: 197.6 kB / 0.8742 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.005, allocations: 0.8366 MB / 0.875 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/1.005, allocations: 47.64 kB / 0.8751 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/1.005, allocations: 0.5082 MB / 0.8756 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/1.006, allocations: 349.6 kB / 0.8759 GB, free: 188 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/1.006, allocations: 174.7 kB / 0.8761 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 7.096e-05/1.006, allocations: 337.6 kB / 0.8764 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006604/1.007, allocations: 330.8 kB / 0.8767 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/1.007, allocations: 474.2 kB / 0.8772 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.009, allocations: 0.7951 MB / 0.8779 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/1.009, allocations: 0.6562 kB / 0.8779 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002658/1.012, allocations: 1.042 MB / 0.8789 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/1.012, allocations: 5.688 kB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.012, allocations: 2.469 kB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/1.012, allocations: 84.92 kB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009752/1.013, allocations: 209.1 kB / 0.8792 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/1.015, allocations: 1.64 MB / 0.8808 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008764/1.016, allocations: 116.1 kB / 0.8809 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/1.016, allocations: 37.39 kB / 0.881 GB, free: 184.7 MB / 0.6856 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.0005147/1.017, allocations: 302 kB / 0.8813 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/1.017, allocations: 124.9 kB / 0.8814 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/1.019, allocations: 1.402 MB / 0.8828 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.019, allocations: 10.34 kB / 0.8828 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.019, allocations: 0 / 0.8828 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.019, allocations: 5.234 kB / 0.8828 GB, free: 183.6 MB / 0.6856 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.003845/1.023, allocations: 2.655 MB / 0.8854 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.023, allocations: 2.188 kB / 0.8854 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/1.024, allocations: 197.1 kB / 0.8856 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/1.025, allocations: 78.36 kB / 0.8856 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.497e-05/1.025, allocations: 36.09 kB / 0.8857 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/1.026, allocations: 1.679 MB / 0.8873 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.026, allocations: 2.281 kB / 0.8873 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002943/1.029, allocations: 1.723 MB / 0.889 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004425/1.029, allocations: 333.9 kB / 0.8893 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.03, allocations: 22.88 kB / 0.8893 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007451/1.03, allocations: 70.09 kB / 0.8894 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/1.031, allocations: 77.11 kB / 0.8895 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/1.031, allocations: 40.83 kB / 0.8895 GB, free: 178.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007242/1.031, allocations: 0.6033 MB / 0.8901 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.031, allocations: 3.844 kB / 0.8901 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001094/1.032, allocations: 424.5 kB / 0.8905 GB, free: 178.3 MB / 0.6856 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.005033/1.038, allocations: 2.874 MB / 0.8933 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001904/1.039, allocations: 0.9946 MB / 0.8943 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.039, allocations: 1.312 kB / 0.8943 GB, free: 176.1 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.04, allocations: 0.611 MB / 0.8949 GB, free: 175.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/1.043, allocations: 0.5019 MB / 0.8954 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/1.055, allocations: 8.434 MB / 0.9036 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/1.056, allocations: 1.138 MB / 0.9047 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001203/1.057, allocations: 355.3 kB / 0.9051 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005867/1.058, allocations: 496.9 kB / 0.9055 GB, free: 169 MB / 0.6856 GB Notification: Performance of SimCode: time 8.21e-07/1.058, allocations: 0 / 0.9055 GB, free: 169 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06049/1.118, allocations: 31.27 MB / 0.9361 GB, free: 141 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.55, allocations: 15.83 kB / 0.9361 GB, free: 141 MB / 0.6856 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)