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.007552/0.007552, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001431/0.001431, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9109/0.9109, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.89 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4719, allocations: 80.91 MB / 0.6641 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.1978/0.6697, allocations: 175.8 MB / 0.8358 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01474/0.6845, allocations: 10.75 MB / 0.8463 GB, free: 6.371 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.6857, allocations: 31.81 kB / 0.8463 GB, free: 6.34 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.6871, allocations: 400.9 kB / 0.8467 GB, free: 5.945 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.6919, allocations: 1.045 MB / 0.8477 GB, free: 4.898 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006589/0.6986, allocations: 1.688 MB / 0.8494 GB, free: 3.215 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004307/0.7029, allocations: 2.167 MB / 0.8515 GB, free: 1.039 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003155/0.7061, allocations: 1.396 MB / 0.8529 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005931/0.7121, allocations: 1.239 MB / 0.8541 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002024/0.7141, allocations: 0.7391 MB / 0.8548 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.7148, allocations: 140 kB / 0.8549 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005358/0.7202, allocations: 1.404 MB / 0.8563 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008598/0.721, allocations: 434.7 kB / 0.8567 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.7228, allocations: 0.7151 MB / 0.8574 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005702/0.7285, allocations: 2.442 MB / 0.8598 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.7285, allocations: 0 / 0.8598 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.535e-06/0.7286, allocations: 0 / 0.8598 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.78e-05/0.7286, allocations: 0 / 0.8598 GB, free: 8.504 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.00484/0.7334, allocations: 1.768 MB / 0.8615 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.7335, allocations: 16.03 kB / 0.8615 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003012/0.7338, allocations: 173 kB / 0.8617 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/0.7378, allocations: 345.8 kB / 0.862 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002792/0.7406, allocations: 0.9486 MB / 0.863 GB, free: 5.152 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.7407, allocations: 86.23 kB / 0.8631 GB, free: 5.066 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.741, allocations: 111.9 kB / 0.8632 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.7449, allocations: 1.234 MB / 0.8644 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.745, allocations: 7.938 kB / 0.8644 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.7452, allocations: 44 kB / 0.8644 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.7452, allocations: 32 kB / 0.8644 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004337/0.7496, allocations: 1.402 MB / 0.8658 GB, free: 2.164 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.3557/1.105, allocations: 3.663 MB / 0.8694 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/1.108, allocations: 1.116 MB / 0.8705 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/1.108, allocations: 422.6 kB / 0.8709 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/1.109, allocations: 430.9 kB / 0.8713 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001083/1.11, allocations: 0.5825 MB / 0.8719 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=97): time 2.675e-06/1.11, allocations: 0 / 0.8719 GB, free: 190.1 MB / 0.6856 GB Notification: Performance of matching and sorting (n=97): time 0.00423/1.114, allocations: 1.479 MB / 0.8733 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/1.114, allocations: 197.9 kB / 0.8735 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.116, allocations: 0.8407 MB / 0.8743 GB, free: 189 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/1.116, allocations: 47.52 kB / 0.8744 GB, free: 189 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/1.116, allocations: 0.492 MB / 0.8748 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001995/1.116, allocations: 329.8 kB / 0.8752 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/1.117, allocations: 181.5 kB / 0.8753 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/1.117, allocations: 338 kB / 0.8757 GB, free: 188 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/1.117, allocations: 331.1 kB / 0.876 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007576/1.118, allocations: 474.8 kB / 0.8764 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/1.119, allocations: 0.7897 MB / 0.8772 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/1.119, allocations: 0.7812 kB / 0.8772 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002611/1.122, allocations: 1.036 MB / 0.8782 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/1.122, allocations: 10.73 kB / 0.8782 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/1.122, allocations: 4.062 kB / 0.8782 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/1.123, allocations: 82.08 kB / 0.8783 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009642/1.124, allocations: 204.8 kB / 0.8785 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/1.126, allocations: 1.644 MB / 0.8801 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008515/1.126, allocations: 112.1 kB / 0.8802 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-05/1.127, allocations: 39.12 kB / 0.8802 GB, free: 185.3 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.0005313/1.127, allocations: 301.8 kB / 0.8805 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001998/1.127, allocations: 116.7 kB / 0.8806 GB, free: 185 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002554/1.13, allocations: 1.401 MB / 0.882 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.13, allocations: 11.62 kB / 0.882 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.13, allocations: 0 / 0.882 GB, free: 184.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.13, allocations: 7.984 kB / 0.882 GB, free: 184.3 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.004287/1.134, allocations: 2.66 MB / 0.8846 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/1.134, allocations: 1.25 kB / 0.8846 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008535/1.135, allocations: 193 kB / 0.8848 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003971/1.135, allocations: 75.8 kB / 0.8849 GB, free: 182.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/1.136, allocations: 31.62 kB / 0.8849 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.137, allocations: 1.675 MB / 0.8865 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/1.137, allocations: 1.281 kB / 0.8866 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/1.14, allocations: 1.722 MB / 0.8882 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/1.141, allocations: 323.7 kB / 0.8885 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/1.141, allocations: 19 kB / 0.8886 GB, free: 179.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/1.141, allocations: 66.91 kB / 0.8886 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.142, allocations: 78.11 kB / 0.8887 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/1.142, allocations: 43.97 kB / 0.8887 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007928/1.142, allocations: 0.5998 MB / 0.8893 GB, free: 179 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.6e-07/1.143, allocations: 4 kB / 0.8893 GB, free: 179 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00113/1.144, allocations: 423.7 kB / 0.8897 GB, free: 178.9 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.004621/1.148, allocations: 2.872 MB / 0.8925 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001973/1.15, allocations: 0.989 MB / 0.8935 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.15, allocations: 1.156 kB / 0.8935 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009811/1.151, allocations: 0.6038 MB / 0.8941 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/1.153, allocations: 0.5027 MB / 0.8946 GB, free: 176.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.166, allocations: 8.398 MB / 0.9028 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/1.167, allocations: 1.138 MB / 0.9039 GB, free: 170.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001163/1.168, allocations: 356.1 kB / 0.9042 GB, free: 170.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/1.169, allocations: 495.9 kB / 0.9047 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of SimCode: time 7.71e-07/1.169, allocations: 0 / 0.9047 GB, free: 169.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05659/1.225, allocations: 31.26 MB / 0.9352 GB, free: 142.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.32, allocations: 15.05 kB / 0.9353 GB, free: 142.2 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)