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.001226/0.001226, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.438/1.438, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7606/0.7606, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 64.16 kB / 0.5019 GB, free: 8.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1326, allocations: 80.2 MB / 0.5802 GB, free: 8.715 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.3951/0.5278, allocations: 175.8 MB / 0.7518 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01359/0.5415, allocations: 10.75 MB / 0.7623 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.5428, allocations: 31.81 kB / 0.7624 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.5439, allocations: 388.9 kB / 0.7627 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.5467, allocations: 1.02 MB / 0.7637 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.5504, allocations: 1.663 MB / 0.7654 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.5525, allocations: 2.163 MB / 0.7675 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001545/0.554, allocations: 1.388 MB / 0.7688 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.5567, allocations: 1.203 MB / 0.77 GB, free: 452 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008064/0.5575, allocations: 0.7469 MB / 0.7707 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.5577, allocations: 147.9 kB / 0.7709 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.5601, allocations: 1.369 MB / 0.7722 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003441/0.5604, allocations: 418.8 kB / 0.7726 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005979/0.561, allocations: 0.7229 MB / 0.7733 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.5637, allocations: 2.38 MB / 0.7756 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5638, allocations: 0 / 0.7756 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5638, allocations: 0 / 0.7756 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.5638, allocations: 0 / 0.7756 GB, free: 10.65 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.00279/0.5666, allocations: 1.781 MB / 0.7774 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5666, allocations: 16.03 kB / 0.7774 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.5668, allocations: 165.1 kB / 0.7776 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.5689, allocations: 342 kB / 0.7779 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.5702, allocations: 0.9173 MB / 0.7788 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.256e-05/0.5702, allocations: 86.23 kB / 0.7789 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.5704, allocations: 112 kB / 0.779 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.5723, allocations: 1.234 MB / 0.7802 GB, free: 5.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.5723, allocations: 3.938 kB / 0.7802 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.5725, allocations: 48 kB / 0.7802 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.5725, allocations: 28 kB / 0.7802 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.5747, allocations: 1.398 MB / 0.7816 GB, free: 4.355 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.00515/0.5798, allocations: 3.713 MB / 0.7852 GB, free: 496 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.5817, allocations: 1.121 MB / 0.7863 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.5824, allocations: 423.7 kB / 0.7867 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007067/0.5831, allocations: 425.3 kB / 0.7871 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009883/0.5841, allocations: 0.5864 MB / 0.7877 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 2.515e-06/0.5842, allocations: 3.938 kB / 0.7877 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003769/0.5879, allocations: 1.485 MB / 0.7892 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.588, allocations: 196.9 kB / 0.7894 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/0.589, allocations: 0.8361 MB / 0.7902 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.273e-05/0.5891, allocations: 41.7 kB / 0.7902 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.5894, allocations: 0.4963 MB / 0.7907 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.5897, allocations: 327.2 kB / 0.791 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.59, allocations: 178.5 kB / 0.7912 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5901, allocations: 341.9 kB / 0.7915 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.5907, allocations: 329.8 kB / 0.7918 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007533/0.5915, allocations: 477 kB / 0.7923 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.5929, allocations: 0.7898 MB / 0.793 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.5929, allocations: 3.938 kB / 0.793 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002235/0.5951, allocations: 1.036 MB / 0.7941 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5952, allocations: 4 kB / 0.7941 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.5952, allocations: 5.812 kB / 0.7941 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.5957, allocations: 80.88 kB / 0.7941 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.5966, allocations: 211.7 kB / 0.7943 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.5985, allocations: 1.65 MB / 0.796 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.5993, allocations: 103 kB / 0.7961 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.5994, allocations: 40.67 kB / 0.7961 GB, free: 4.918 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.0004604/0.5999, allocations: 315.4 kB / 0.7964 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.6001, allocations: 110.6 kB / 0.7965 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.6029, allocations: 1.402 MB / 0.7979 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.6029, allocations: 15.94 kB / 0.7979 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.6029, allocations: 0 / 0.7979 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6029, allocations: 11.97 kB / 0.7979 GB, free: 3.059 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.00408/0.607, allocations: 2.654 MB / 0.8005 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.607, allocations: 4 kB / 0.8005 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.6078, allocations: 191.7 kB / 0.8007 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004349/0.6083, allocations: 80.83 kB / 0.8008 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/0.6084, allocations: 32.06 kB / 0.8008 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.6101, allocations: 1.674 MB / 0.8024 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.6101, allocations: 8 kB / 0.8024 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.6132, allocations: 1.715 MB / 0.8041 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/0.6136, allocations: 319.6 kB / 0.8044 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.6138, allocations: 31.91 kB / 0.8044 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007527/0.6145, allocations: 67.94 kB / 0.8045 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.6147, allocations: 68.91 kB / 0.8046 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/0.6147, allocations: 51.84 kB / 0.8046 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007453/0.6155, allocations: 0.6014 MB / 0.8052 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6155, allocations: 0 / 0.8052 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001027/0.6165, allocations: 415.1 kB / 0.8056 GB, free: 10.84 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.004595/0.6211, allocations: 2.855 MB / 0.8084 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00267/0.6238, allocations: 1.238 MB / 0.8096 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6238, allocations: 8.125 kB / 0.8096 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6249, allocations: 0.6055 MB / 0.8102 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.6269, allocations: 0.5096 MB / 0.8107 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.6402, allocations: 8.852 MB / 0.8193 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.6409, allocations: 1.131 MB / 0.8204 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001221/0.6421, allocations: 360.8 kB / 0.8208 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.6428, allocations: 495.2 kB / 0.8213 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.6428, allocations: 3.938 kB / 0.8213 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7148/1.358, allocations: 30.97 MB / 0.8515 GB, free: 12.07 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/14.36, allocations: 6.594 kB / 0.8515 GB, free: 12.07 MB / 0.67 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)