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.001393/0.001393, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001835/0.001835, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.317/2.317, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 2.32/2.32, allocations: 135.2 MB / 426.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008962/0.0008972, allocations: 8.875 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4995/0.5005, allocations: 82.32 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 1.077/1.577, allocations: 146.9 MB / 0.7308 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02962/1.607, allocations: 9.186 MB / 0.7397 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002451/1.61, allocations: 31.62 kB / 0.7398 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/1.612, allocations: 271.3 kB / 0.74 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005921/1.618, allocations: 0.8443 MB / 0.7408 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007884/1.626, allocations: 1.144 MB / 0.742 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004879/1.63, allocations: 1.296 MB / 0.7432 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003539/1.634, allocations: 1.008 MB / 0.7442 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005108/1.639, allocations: 1.001 MB / 0.7452 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/1.641, allocations: 498.2 kB / 0.7457 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004987/1.642, allocations: 40 kB / 0.7457 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/1.646, allocations: 0.744 MB / 0.7464 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000856/1.647, allocations: 284.6 kB / 0.7467 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008801/1.648, allocations: 264 kB / 0.747 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004655/1.653, allocations: 1.596 MB / 0.7485 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.653, allocations: 0 / 0.7485 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.226e-06/1.653, allocations: 4 kB / 0.7485 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.696e-05/1.653, allocations: 0 / 0.7485 GB, free: 7.391 MB / 0.5606 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.005697/1.659, allocations: 1.489 MB / 0.75 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/1.659, allocations: 15.97 kB / 0.75 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000633/1.659, allocations: 173 kB / 0.7502 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/1.664, allocations: 354 kB / 0.7505 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003447/1.667, allocations: 0.8831 MB / 0.7514 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/1.668, allocations: 78.23 kB / 0.7514 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/1.668, allocations: 119.9 kB / 0.7515 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/1.69, allocations: 1.219 MB / 0.7527 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.929e-05/1.69, allocations: 0 / 0.7527 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003631/1.69, allocations: 48 kB / 0.7528 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.074e-05/1.69, allocations: 28 kB / 0.7528 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/1.696, allocations: 1.402 MB / 0.7542 GB, free: 1.418 MB / 0.5606 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.03004/1.726, allocations: 3.73 MB / 0.7578 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0047/1.73, allocations: 1.146 MB / 0.7589 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.732, allocations: 263.2 kB / 0.7592 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002056/1.734, allocations: 0.5787 MB / 0.7598 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=97): time 6.021e-06/1.734, allocations: 3.938 kB / 0.7598 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=97): time 0.007613/1.741, allocations: 1.49 MB / 0.7612 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001613/1.742, allocations: 196.9 kB / 0.7614 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/1.744, allocations: 0.8321 MB / 0.7622 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/1.744, allocations: 45.7 kB / 0.7623 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007618/1.745, allocations: 0.5041 MB / 0.7627 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006297/1.746, allocations: 323.3 kB / 0.7631 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/1.746, allocations: 16 kB / 0.7631 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.746, allocations: 338 kB / 0.7634 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/1.748, allocations: 333.8 kB / 0.7637 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.749, allocations: 465 kB / 0.7642 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/1.75, allocations: 394.8 kB / 0.7645 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/1.75, allocations: 0 / 0.7645 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004566/1.755, allocations: 1.04 MB / 0.7655 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/1.755, allocations: 8 kB / 0.7656 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.755, allocations: 0 / 0.7656 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.756, allocations: 92.8 kB / 0.7656 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/1.758, allocations: 203.8 kB / 0.7658 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/1.763, allocations: 1.552 MB / 0.7674 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/1.765, allocations: 123.1 kB / 0.7675 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003182/1.765, allocations: 39.97 kB / 0.7675 GB, free: 3.23 MB / 0.5762 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001449/1.767, allocations: 309.6 kB / 0.7678 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006996/1.768, allocations: 114.6 kB / 0.7679 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006147/1.774, allocations: 1.395 MB / 0.7693 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.774, allocations: 15.98 kB / 0.7693 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.774, allocations: 3.938 kB / 0.7693 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.713e-05/1.774, allocations: 7.969 kB / 0.7693 GB, free: 1.363 MB / 0.5762 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.009399/1.783, allocations: 2.698 MB / 0.7719 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/1.783, allocations: 3.984 kB / 0.7719 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.785, allocations: 196 kB / 0.7721 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009158/1.786, allocations: 88.78 kB / 0.7722 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/1.786, allocations: 27.98 kB / 0.7722 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003406/1.79, allocations: 1.567 MB / 0.7738 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/1.79, allocations: 4 kB / 0.7738 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006716/1.796, allocations: 1.827 MB / 0.7756 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/1.798, allocations: 343.3 kB / 0.7759 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004755/1.798, allocations: 27.92 kB / 0.7759 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/1.8, allocations: 94.02 kB / 0.776 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/1.801, allocations: 76.89 kB / 0.7761 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/1.801, allocations: 47.97 kB / 0.7761 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001899/1.803, allocations: 0.5935 MB / 0.7767 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.61e-07/1.803, allocations: 0 / 0.7767 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002251/1.805, allocations: 419.1 kB / 0.7771 GB, free: 9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009523/1.815, allocations: 3.52 MB / 0.7805 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003783/1.818, allocations: 0.9838 MB / 0.7815 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.456e-05/1.818, allocations: 0 / 0.7815 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/1.821, allocations: 0.6098 MB / 0.7821 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004625/1.825, allocations: 447.3 kB / 0.7825 GB, free: 3.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02727/1.853, allocations: 7.698 MB / 0.79 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.854, allocations: 1.154 MB / 0.7912 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002976/1.857, allocations: 365 kB / 0.7915 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.858, allocations: 499.2 kB / 0.792 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of SimCode: time 9.32e-07/1.858, allocations: 0 / 0.792 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2012/2.06, allocations: 30.82 MB / 0.8221 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004498/2.06, allocations: 231.7 kB / 0.8223 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.816/7.876, allocations: 0 / 0.8223 GB, free: 10.92 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1) Environment - environmentSimulation: