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.0009383/0.0009383, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009535/0.0009535, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.22 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1431, allocations: 80.92 MB / 0.5838 GB, free: 4.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.397/0.5401, allocations: 173.5 MB / 0.7532 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01293/0.5531, allocations: 10.78 MB / 0.7638 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.5544, allocations: 31.81 kB / 0.7638 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5557, allocations: 313.9 kB / 0.7641 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.5585, allocations: 0.9119 MB / 0.765 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.5619, allocations: 1.483 MB / 0.7664 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002404/0.5643, allocations: 2.487 MB / 0.7689 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.5659, allocations: 1.267 MB / 0.7701 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.5689, allocations: 1.07 MB / 0.7711 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009118/0.5698, allocations: 0.7272 MB / 0.7718 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.57, allocations: 79.94 kB / 0.7719 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002329/0.5724, allocations: 1.45 MB / 0.7733 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.5727, allocations: 354.8 kB / 0.7737 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006546/0.5734, allocations: 0.6526 MB / 0.7743 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.5761, allocations: 2.391 MB / 0.7766 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5761, allocations: 0 / 0.7766 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.02e-07/0.5761, allocations: 0 / 0.7766 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.74e-05/0.5761, allocations: 3.938 kB / 0.7767 GB, free: 7.828 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.002963/0.5791, allocations: 1.779 MB / 0.7784 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5791, allocations: 8.031 kB / 0.7784 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002012/0.5793, allocations: 177 kB / 0.7786 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.5814, allocations: 342 kB / 0.7789 GB, free: 5.469 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.5827, allocations: 0.9096 MB / 0.7798 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.092e-05/0.5828, allocations: 82.23 kB / 0.7799 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.583, allocations: 112 kB / 0.78 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.5849, allocations: 1.234 MB / 0.7812 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.585, allocations: 4 kB / 0.7812 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.5851, allocations: 51.98 kB / 0.7812 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.5851, allocations: 28 kB / 0.7812 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.5873, allocations: 1.394 MB / 0.7826 GB, free: 1.539 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.005255/0.5925, allocations: 3.712 MB / 0.7862 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/0.5946, allocations: 1.112 MB / 0.7873 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007344/0.5954, allocations: 426.6 kB / 0.7877 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007143/0.5961, allocations: 429.4 kB / 0.7881 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.5971, allocations: 0.5787 MB / 0.7887 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=97): time 2.615e-06/0.5971, allocations: 0 / 0.7887 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=97): time 0.003805/0.6009, allocations: 1.493 MB / 0.7902 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.601, allocations: 192.9 kB / 0.7903 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000994/0.602, allocations: 0.8361 MB / 0.7912 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.6021, allocations: 49.7 kB / 0.7912 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.6025, allocations: 0.5041 MB / 0.7917 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002633/0.6028, allocations: 327.2 kB / 0.792 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003046/0.6031, allocations: 174.5 kB / 0.7922 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6033, allocations: 337.9 kB / 0.7925 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.6039, allocations: 329.8 kB / 0.7928 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.6047, allocations: 473 kB / 0.7933 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.6061, allocations: 0.7899 MB / 0.794 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.6061, allocations: 7.938 kB / 0.794 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002421/0.6086, allocations: 1.036 MB / 0.7951 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.6086, allocations: 10.03 kB / 0.7951 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6086, allocations: 0 / 0.7951 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.6092, allocations: 84.81 kB / 0.7951 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.6101, allocations: 207.7 kB / 0.7953 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.6122, allocations: 1.547 MB / 0.7969 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.6129, allocations: 113.8 kB / 0.797 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.613, allocations: 35.98 kB / 0.797 GB, free: 2.211 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.0004669/0.6135, allocations: 309.7 kB / 0.7973 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.6137, allocations: 114.6 kB / 0.7974 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002824/0.6166, allocations: 1.395 MB / 0.7988 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.6166, allocations: 8 kB / 0.7988 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6166, allocations: 4 kB / 0.7988 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.6166, allocations: 7.969 kB / 0.7988 GB, free: 352 kB / 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.004578/0.6212, allocations: 2.654 MB / 0.8014 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6212, allocations: 8 kB / 0.8014 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.6221, allocations: 187.8 kB / 0.8016 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000555/0.6226, allocations: 88.95 kB / 0.8016 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/0.6227, allocations: 27.98 kB / 0.8017 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/0.6245, allocations: 1.559 MB / 0.8032 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6245, allocations: 4 kB / 0.8032 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003149/0.6277, allocations: 1.719 MB / 0.8049 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.6281, allocations: 319.5 kB / 0.8052 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.6283, allocations: 27.94 kB / 0.8052 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008837/0.6292, allocations: 75.86 kB / 0.8053 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6294, allocations: 80.84 kB / 0.8054 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.284e-05/0.6295, allocations: 43.97 kB / 0.8054 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000771/0.6302, allocations: 0.5936 MB / 0.806 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6302, allocations: 4 kB / 0.806 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001037/0.6313, allocations: 427 kB / 0.8064 GB, free: 8.234 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.004846/0.6361, allocations: 2.861 MB / 0.8092 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001893/0.638, allocations: 0.9763 MB / 0.8101 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6381, allocations: 0 / 0.8101 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.6392, allocations: 0.6098 MB / 0.8107 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.6411, allocations: 476 kB / 0.8112 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.6564, allocations: 9.324 MB / 0.8203 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/0.6572, allocations: 1.13 MB / 0.8214 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001204/0.6584, allocations: 365 kB / 0.8217 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/0.6591, allocations: 495.2 kB / 0.8222 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.6591, allocations: 0 / 0.8222 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1211/0.7802, allocations: 29.98 MB / 0.8515 GB, free: 10.22 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.7804, allocations: 254.7 kB / 0.8517 GB, free: 9.969 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.323, allocations: 0 / 0.8517 GB, free: 9.969 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)