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.01491/0.01491, allocations: 103 kB / 15.73 MB, free: 6.035 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.002481/0.002481, allocations: 190 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.202/2.202, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.354/1.354, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 74.28 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3447, allocations: 80.22 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 1.204/1.549, allocations: 175.8 MB / 0.8308 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01986/1.569, allocations: 10.76 MB / 0.8413 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002467/1.572, allocations: 33.19 kB / 0.8414 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/1.573, allocations: 399 kB / 0.8417 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/1.578, allocations: 1.004 MB / 0.8427 GB, free: 2.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006249/1.584, allocations: 1.67 MB / 0.8444 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00436/1.589, allocations: 2.176 MB / 0.8465 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/1.591, allocations: 1.391 MB / 0.8478 GB, free: 2.359 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/1.596, allocations: 1.219 MB / 0.849 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/1.597, allocations: 0.7428 MB / 0.8498 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002743/1.598, allocations: 142.6 kB / 0.8499 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/1.602, allocations: 1.401 MB / 0.8513 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005365/1.602, allocations: 423.6 kB / 0.8517 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/1.604, allocations: 0.7184 MB / 0.8524 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006985/1.611, allocations: 2.439 MB / 0.8547 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.611, allocations: 4.312 kB / 0.8548 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.795e-06/1.611, allocations: 0 / 0.8548 GB, free: 1.871 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.873e-05/1.611, allocations: 0 / 0.8548 GB, free: 1.871 MB / 0.6387 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.004052/1.615, allocations: 1.773 MB / 0.8565 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.615, allocations: 8.188 kB / 0.8565 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000211/1.615, allocations: 168.5 kB / 0.8567 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/1.617, allocations: 350.3 kB / 0.857 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/1.619, allocations: 0.9523 MB / 0.8579 GB, free: 496 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-05/1.619, allocations: 90.94 kB / 0.858 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/1.62, allocations: 107 kB / 0.8581 GB, free: 484 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/1.622, allocations: 1.234 MB / 0.8593 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/1.622, allocations: 0 / 0.8593 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/1.622, allocations: 50.59 kB / 0.8594 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/1.622, allocations: 29.69 kB / 0.8594 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/1.625, allocations: 1.402 MB / 0.8608 GB, free: 284 kB / 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 preOpt removeSimpleEquations (simulation): time 0.007605/1.632, allocations: 3.665 MB / 0.8643 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/1.634, allocations: 1.118 MB / 0.8654 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00075/1.635, allocations: 428 kB / 0.8658 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/1.636, allocations: 425 kB / 0.8662 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001249/1.637, allocations: 0.582 MB / 0.8668 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=97): time 3.587e-06/1.637, allocations: 0.8438 kB / 0.8668 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=97): time 0.004425/1.642, allocations: 1.487 MB / 0.8683 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.642, allocations: 193.3 kB / 0.8684 GB, free: 14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/1.643, allocations: 0.8445 MB / 0.8693 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/1.644, allocations: 44.98 kB / 0.8693 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000498/1.644, allocations: 0.4901 MB / 0.8698 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/1.644, allocations: 331 kB / 0.8701 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/1.645, allocations: 179.9 kB / 0.8703 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.645, allocations: 341.8 kB / 0.8706 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/1.646, allocations: 325 kB / 0.8709 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/1.646, allocations: 482.2 kB / 0.8714 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/1.648, allocations: 0.786 MB / 0.8721 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/1.648, allocations: 0 / 0.8721 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002756/1.651, allocations: 1.036 MB / 0.8732 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.651, allocations: 4.844 kB / 0.8732 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.651, allocations: 1.969 kB / 0.8732 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/1.651, allocations: 88.19 kB / 0.8732 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/1.652, allocations: 203.7 kB / 0.8734 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.655, allocations: 1.654 MB / 0.8751 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.656, allocations: 104.2 kB / 0.8752 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/1.656, allocations: 40.42 kB / 0.8752 GB, free: 11.2 MB / 0.6544 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.0008034/1.657, allocations: 307 kB / 0.8755 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/1.657, allocations: 113 kB / 0.8756 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/1.661, allocations: 1.405 MB / 0.877 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.661, allocations: 10.66 kB / 0.877 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.661, allocations: 0 / 0.877 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.661, allocations: 10.55 kB / 0.877 GB, free: 10.37 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.005796/1.666, allocations: 2.665 MB / 0.8796 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.666, allocations: 3.219 kB / 0.8796 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00096/1.667, allocations: 192.1 kB / 0.8798 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/1.668, allocations: 76.23 kB / 0.8798 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/1.668, allocations: 31.19 kB / 0.8799 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/1.671, allocations: 1.673 MB / 0.8815 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.671, allocations: 4.938 kB / 0.8815 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004073/1.675, allocations: 1.714 MB / 0.8832 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009937/1.676, allocations: 328.1 kB / 0.8835 GB, free: 6.461 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/1.676, allocations: 23.91 kB / 0.8835 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.677, allocations: 67.36 kB / 0.8836 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.678, allocations: 74.67 kB / 0.8837 GB, free: 6.422 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.678, allocations: 43.64 kB / 0.8837 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001447/1.679, allocations: 0.6002 MB / 0.8843 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.41e-07/1.679, allocations: 0.8125 kB / 0.8843 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002107/1.681, allocations: 414.1 kB / 0.8847 GB, free: 6.051 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.007655/1.689, allocations: 2.861 MB / 0.8875 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002906/1.692, allocations: 0.9893 MB / 0.8884 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.692, allocations: 0.9062 kB / 0.8884 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001455/1.693, allocations: 0.6085 MB / 0.889 GB, free: 4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.697, allocations: 0.5119 MB / 0.8895 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/1.718, allocations: 8.392 MB / 0.8977 GB, free: 15.03 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/1.719, allocations: 1.143 MB / 0.8989 GB, free: 13.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001809/1.721, allocations: 360.2 kB / 0.8992 GB, free: 13.52 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009372/1.722, allocations: 0.4914 MB / 0.8997 GB, free: 13.03 MB / 0.67 GB Notification: Performance of SimCode: time 2.395e-06/1.722, allocations: 0 / 0.8997 GB, free: 13.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08724/1.809, allocations: 31.79 MB / 0.9307 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.64/23.45, allocations: 10.05 kB / 0.9307 GB, free: 13.68 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside.pipe 2>&1)