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.005401/0.005401, allocations: 96.7 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.001348/0.001348, allocations: 198.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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9593/0.9593, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 63.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4002, allocations: 81.02 MB / 0.6649 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.2005/0.6008, allocations: 175.8 MB / 0.8365 GB, free: 0.5078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.6161, allocations: 10.75 MB / 0.847 GB, free: 5.719 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.6172, allocations: 31.81 kB / 0.8471 GB, free: 5.688 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.6185, allocations: 388.9 kB / 0.8474 GB, free: 5.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.6215, allocations: 1.023 MB / 0.8484 GB, free: 4.281 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004264/0.6258, allocations: 1.653 MB / 0.85 GB, free: 2.633 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003076/0.6289, allocations: 2.171 MB / 0.8522 GB, free: 464 kB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002355/0.6313, allocations: 1.407 MB / 0.8535 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.6347, allocations: 1.204 MB / 0.8547 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.636, allocations: 0.739 MB / 0.8554 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000356/0.6364, allocations: 140 kB / 0.8556 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.6394, allocations: 1.408 MB / 0.8569 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.6399, allocations: 430.7 kB / 0.8574 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008107/0.6407, allocations: 0.7152 MB / 0.8581 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003825/0.6445, allocations: 2.44 MB / 0.8604 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.6446, allocations: 4 kB / 0.8604 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6446, allocations: 0 / 0.8604 GB, free: 7.934 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6446, allocations: 0 / 0.8604 GB, free: 7.934 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.003324/0.6479, allocations: 1.832 MB / 0.8622 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.648, allocations: 12.03 kB / 0.8622 GB, free: 6.031 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.6482, allocations: 173 kB / 0.8624 GB, free: 5.852 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.6503, allocations: 342.8 kB / 0.8627 GB, free: 5.516 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.6519, allocations: 0.9572 MB / 0.8637 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.111e-05/0.6519, allocations: 86.23 kB / 0.8637 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.6521, allocations: 115.9 kB / 0.8639 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.6544, allocations: 1.23 MB / 0.8651 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.6545, allocations: 0 / 0.8651 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/0.6546, allocations: 52 kB / 0.8651 GB, free: 2.969 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.6547, allocations: 28 kB / 0.8651 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.6574, allocations: 1.398 MB / 0.8665 GB, free: 1.535 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.289/0.9464, allocations: 3.682 MB / 0.8701 GB, free: 191 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.9484, allocations: 1.114 MB / 0.8712 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/0.9491, allocations: 428.7 kB / 0.8716 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.9498, allocations: 424.3 kB / 0.872 GB, free: 190 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.9509, allocations: 0.5811 MB / 0.8726 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=97): time 3.356e-06/0.9509, allocations: 0.8125 kB / 0.8726 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of matching and sorting (n=97): time 0.003841/0.9547, allocations: 1.494 MB / 0.874 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.9548, allocations: 195 kB / 0.8742 GB, free: 189 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.9559, allocations: 0.841 MB / 0.875 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.721e-05/0.956, allocations: 43.7 kB / 0.8751 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.9563, allocations: 0.5005 MB / 0.8756 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.9565, allocations: 347 kB / 0.8759 GB, free: 188 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.9568, allocations: 187.8 kB / 0.8761 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.457e-05/0.9569, allocations: 341.9 kB / 0.8764 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006412/0.9575, allocations: 325.5 kB / 0.8767 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007528/0.9583, allocations: 470.8 kB / 0.8772 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.9598, allocations: 0.79 MB / 0.8779 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.9598, 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.002557/0.9623, allocations: 1.044 MB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.9624, allocations: 6.156 kB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.9624, allocations: 8.578 kB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/0.963, allocations: 79.22 kB / 0.879 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.9639, allocations: 207.6 kB / 0.8792 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/0.9656, allocations: 1.646 MB / 0.8808 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/0.9664, allocations: 110.3 kB / 0.881 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/0.9665, allocations: 41.38 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.0004405/0.9669, allocations: 311.1 kB / 0.8813 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.9671, allocations: 117.9 kB / 0.8814 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.9697, allocations: 1.405 MB / 0.8828 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.9697, allocations: 11.38 kB / 0.8828 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.9697, allocations: 0 / 0.8828 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.9697, allocations: 3.984 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.003764/0.9735, allocations: 2.662 MB / 0.8854 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.9735, allocations: 5.438 kB / 0.8854 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007904/0.9743, allocations: 200.2 kB / 0.8856 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.9748, allocations: 74.78 kB / 0.8857 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.9748, allocations: 31.14 kB / 0.8857 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.9763, allocations: 1.675 MB / 0.8873 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9763, allocations: 6.188 kB / 0.8873 GB, free: 180.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/0.9792, allocations: 1.722 MB / 0.889 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.9796, allocations: 327.7 kB / 0.8893 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.9797, allocations: 23.69 kB / 0.8893 GB, free: 178.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/0.9805, allocations: 67.06 kB / 0.8894 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.9806, allocations: 77.45 kB / 0.8895 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.9807, allocations: 44.16 kB / 0.8895 GB, free: 178.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006858/0.9814, allocations: 0.5963 MB / 0.8901 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9814, allocations: 0 / 0.8901 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001063/0.9825, allocations: 431 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.005034/0.9875, allocations: 2.868 MB / 0.8933 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001852/0.9894, allocations: 0.9942 MB / 0.8943 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.9894, allocations: 1.719 kB / 0.8943 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009572/0.9903, allocations: 0.6179 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.002068/0.9924, allocations: 0.5124 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.01261/1.005, allocations: 8.427 MB / 0.9036 GB, free: 170.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/1.006, allocations: 1.133 MB / 0.9047 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001127/1.007, allocations: 359.9 kB / 0.9051 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/1.007, allocations: 495.7 kB / 0.9055 GB, free: 169 MB / 0.6856 GB Notification: Performance of SimCode: time 9.02e-07/1.007, allocations: 0 / 0.9055 GB, free: 169 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05793/1.065, allocations: 31.27 MB / 0.9361 GB, free: 141.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.68, allocations: 8.469 kB / 0.9361 GB, free: 141.1 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 & /home/hudson/saved_omc/OMSimulator/install/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)