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.0008367/0.0008364, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005171/0.005171, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.211/1.211, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.812/0.812, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 11.94 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.3565/0.4872, allocations: 171.2 MB / 0.7552 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.4983, allocations: 10.62 MB / 0.7656 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/0.4988, allocations: 27.81 kB / 0.7656 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.4996, allocations: 321.9 kB / 0.7659 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.5013, allocations: 0.9051 MB / 0.7668 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.504, allocations: 1.486 MB / 0.7683 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001869/0.5059, allocations: 2.475 MB / 0.7707 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.5072, allocations: 1.203 MB / 0.7719 GB, free: 156 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.5097, allocations: 1.002 MB / 0.7729 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006107/0.5103, allocations: 0.6258 MB / 0.7735 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.708e-05/0.5104, allocations: 40 kB / 0.7735 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/0.5122, allocations: 1.423 MB / 0.7749 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.5125, allocations: 306.7 kB / 0.7752 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004523/0.5129, allocations: 0.6036 MB / 0.7758 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002008/0.515, allocations: 2.328 MB / 0.778 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.515, allocations: 3.938 kB / 0.778 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.032e-06/0.515, allocations: 0 / 0.778 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.014e-05/0.515, allocations: 0 / 0.778 GB, free: 9.816 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.002123/0.5171, allocations: 1.49 MB / 0.7795 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.5172, allocations: 12.03 kB / 0.7795 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.5173, allocations: 169 kB / 0.7797 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/0.5192, allocations: 357.9 kB / 0.78 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.5204, allocations: 0.9096 MB / 0.7809 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/0.5204, allocations: 86.23 kB / 0.781 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5206, allocations: 111.9 kB / 0.7811 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.5224, allocations: 1.238 MB / 0.7823 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5225, allocations: 0 / 0.7823 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.5226, allocations: 48 kB / 0.7824 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.5226, allocations: 28 kB / 0.7824 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.5247, allocations: 1.41 MB / 0.7838 GB, free: 3.785 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.004795/0.5295, allocations: 3.743 MB / 0.7874 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/0.5313, allocations: 1.119 MB / 0.7885 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006761/0.532, allocations: 431.6 kB / 0.7889 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.5326, allocations: 441.3 kB / 0.7893 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.5335, allocations: 0.5826 MB / 0.7899 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 4.378e-06/0.5336, allocations: 0 / 0.7899 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.00339/0.537, allocations: 1.504 MB / 0.7914 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.5371, allocations: 188.9 kB / 0.7916 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.538, allocations: 0.8477 MB / 0.7924 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.979e-05/0.5381, allocations: 41.7 kB / 0.7924 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003354/0.5384, allocations: 0.4963 MB / 0.7929 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/0.5386, allocations: 327.2 kB / 0.7932 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.5387, allocations: 73.69 kB / 0.7933 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5389, allocations: 341.9 kB / 0.7936 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.5395, allocations: 333.8 kB / 0.7939 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000712/0.5402, allocations: 477.1 kB / 0.7944 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.5416, allocations: 0.8016 MB / 0.7952 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5416, allocations: 3.938 kB / 0.7952 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002054/0.5436, allocations: 1.051 MB / 0.7962 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.5436, allocations: 4 kB / 0.7962 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5437, allocations: 7.938 kB / 0.7962 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005336/0.5442, allocations: 80.88 kB / 0.7963 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.545, allocations: 207.7 kB / 0.7965 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.5468, allocations: 1.544 MB / 0.798 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/0.5475, allocations: 121.6 kB / 0.7981 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.5476, allocations: 39.98 kB / 0.7981 GB, free: 4.449 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.0003886/0.548, allocations: 309.5 kB / 0.7984 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.5482, allocations: 110.7 kB / 0.7985 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.5509, allocations: 1.415 MB / 0.7999 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5509, allocations: 16 kB / 0.7999 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.5509, allocations: 4 kB / 0.7999 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5509, allocations: 7.969 kB / 0.8 GB, free: 2.559 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.003804/0.5547, allocations: 2.662 MB / 0.8026 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5547, allocations: 0 / 0.8026 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007771/0.5555, allocations: 199.7 kB / 0.8027 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.556, allocations: 88.95 kB / 0.8028 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.556, allocations: 23.98 kB / 0.8029 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/0.5576, allocations: 1.555 MB / 0.8044 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5577, allocations: 4 kB / 0.8044 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.5605, allocations: 1.742 MB / 0.8061 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003979/0.5609, allocations: 339.4 kB / 0.8064 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.561, allocations: 20.23 kB / 0.8064 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/0.5618, allocations: 95.77 kB / 0.8065 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5619, allocations: 72.89 kB / 0.8066 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.562, allocations: 43.97 kB / 0.8066 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006807/0.5627, allocations: 0.6053 MB / 0.8072 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5627, allocations: 0 / 0.8072 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008757/0.5636, allocations: 415.1 kB / 0.8076 GB, free: 10.4 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.004289/0.5679, allocations: 2.879 MB / 0.8104 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001675/0.5696, allocations: 0.9994 MB / 0.8114 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5696, allocations: 320 / 0.8114 GB, free: 6.676 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009632/0.5706, allocations: 0.6134 MB / 0.812 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.5727, allocations: 481.8 kB / 0.8125 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.5867, allocations: 9.461 MB / 0.8217 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/0.5874, allocations: 1.138 MB / 0.8228 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001055/0.5884, allocations: 353.1 kB / 0.8231 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/0.5891, allocations: 491.2 kB / 0.8236 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.5891, allocations: 0 / 0.8236 GB, free: 9.797 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 8.538/9.128, allocations: 29.62 MB / 0.8525 GB, free: 12.59 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/9.128, allocations: 261.9 kB / 0.8528 GB, free: 12.33 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/11.77, allocations: 0 / 0.8528 GB, free: 12.33 MB / 0.67 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)