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.000784/0.0007839, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008406/0.0008407, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003858, allocations: 8.219 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 82.31 MB / 0.5875 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.4843/0.6529, allocations: 159.7 MB / 0.7434 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01615/0.6691, allocations: 9.992 MB / 0.7532 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002009/0.6712, allocations: 23.28 kB / 0.7532 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.6724, allocations: 280 kB / 0.7534 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.676, allocations: 0.8297 MB / 0.7543 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004053/0.6801, allocations: 1.225 MB / 0.7555 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002975/0.6831, allocations: 2.172 MB / 0.7576 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001643/0.6848, allocations: 1.008 MB / 0.7586 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.6869, allocations: 0.9104 MB / 0.7595 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008717/0.6878, allocations: 0.5949 MB / 0.76 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.6879, allocations: 40 kB / 0.7601 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.6901, allocations: 0.8851 MB / 0.7609 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.6904, allocations: 298.8 kB / 0.7612 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.6908, allocations: 253 kB / 0.7615 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.6929, allocations: 1.676 MB / 0.7631 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.6929, allocations: 0 / 0.7631 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.955e-06/0.6929, allocations: 8 kB / 0.7631 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.942e-05/0.693, allocations: 0 / 0.7631 GB, free: 9.082 MB / 0.5762 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.002733/0.6957, allocations: 1.51 MB / 0.7646 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6958, allocations: 8.031 kB / 0.7646 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/0.696, allocations: 177 kB / 0.7648 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.698, allocations: 353.9 kB / 0.7651 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.6995, allocations: 0.8792 MB / 0.766 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.6995, allocations: 86.17 kB / 0.766 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.6997, allocations: 111.9 kB / 0.7661 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.7019, allocations: 1.23 MB / 0.7673 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.7019, allocations: 0 / 0.7673 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.702, allocations: 48 kB / 0.7674 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.7021, allocations: 28 kB / 0.7674 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.7044, allocations: 1.406 MB / 0.7688 GB, free: 3.078 MB / 0.5762 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.005814/0.7102, allocations: 3.732 MB / 0.7724 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.7121, allocations: 1.123 MB / 0.7735 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.7128, allocations: 419.7 kB / 0.7739 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007497/0.7136, allocations: 441.3 kB / 0.7743 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009851/0.7146, allocations: 0.5826 MB / 0.7749 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=97): time 2.515e-06/0.7146, allocations: 0 / 0.7749 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=97): time 0.00361/0.7182, allocations: 1.493 MB / 0.7764 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.7183, allocations: 200.9 kB / 0.7766 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.7194, allocations: 0.8243 MB / 0.7774 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9e-05/0.7195, allocations: 45.7 kB / 0.7774 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004034/0.7199, allocations: 0.5002 MB / 0.7779 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.7202, allocations: 327.2 kB / 0.7782 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.7203, allocations: 20 kB / 0.7782 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7204, allocations: 341.9 kB / 0.7786 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/0.721, allocations: 325.8 kB / 0.7789 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.7218, allocations: 477 kB / 0.7793 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.7225, allocations: 394.9 kB / 0.7797 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7225, allocations: 3.984 kB / 0.7797 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002209/0.7247, allocations: 1.044 MB / 0.7807 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.7248, allocations: 4 kB / 0.7807 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.7248, allocations: 4 kB / 0.7807 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005567/0.7253, allocations: 84.86 kB / 0.7808 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008983/0.7263, allocations: 207.7 kB / 0.781 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001959/0.7282, allocations: 1.537 MB / 0.7825 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009704/0.7292, allocations: 121 kB / 0.7826 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.973e-05/0.7293, allocations: 47.91 kB / 0.7827 GB, free: 4.281 MB / 0.5919 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006169/0.7299, allocations: 301.6 kB / 0.783 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.7301, allocations: 110.7 kB / 0.7831 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.7329, allocations: 1.42 MB / 0.7845 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.733, allocations: 12 kB / 0.7845 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.733, allocations: 0 / 0.7845 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.733, allocations: 7.984 kB / 0.7845 GB, free: 2.41 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 postOpt removeSimpleEquations (simulation): time 0.004369/0.7374, allocations: 2.662 MB / 0.7871 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.7374, allocations: 4 kB / 0.7871 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/0.7383, allocations: 195.7 kB / 0.7873 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.7387, allocations: 80.97 kB / 0.7873 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.7388, allocations: 35.97 kB / 0.7874 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/0.7405, allocations: 1.556 MB / 0.7889 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.7405, allocations: 4 kB / 0.7889 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.7438, allocations: 1.723 MB / 0.7906 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006651/0.7444, allocations: 343.3 kB / 0.7909 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002842/0.7447, allocations: 24 kB / 0.7909 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000952/0.7457, allocations: 99.83 kB / 0.791 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.7459, allocations: 72.89 kB / 0.7911 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.746, allocations: 39.98 kB / 0.7911 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009919/0.747, allocations: 0.5975 MB / 0.7917 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.747, allocations: 0 / 0.7917 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001394/0.7484, allocations: 423 kB / 0.7921 GB, free: 10.26 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005064/0.7535, allocations: 2.852 MB / 0.7949 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.7557, allocations: 0.9839 MB / 0.7959 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.7557, allocations: 0 / 0.7959 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.7568, allocations: 0.6138 MB / 0.7965 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/0.7594, allocations: 473.9 kB / 0.7969 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.7736, allocations: 6.964 MB / 0.8037 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.7744, allocations: 1.142 MB / 0.8048 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001411/0.7758, allocations: 365 kB / 0.8052 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.7765, allocations: 495.2 kB / 0.8057 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of SimCode: time 8.31e-07/0.7765, allocations: 0 / 0.8057 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/0.8355, allocations: 30.98 MB / 0.8359 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/0.8357, allocations: 236.3 kB / 0.8361 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.53, allocations: 0 / 0.8361 GB, free: 13.45 MB / 0.6544 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/linux/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) Environment - environmentSimulation: