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.005817/0.005817, allocations: 104.2 kB / 15.74 MB, free: 6.059 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.001243/0.001244, allocations: 196.5 kB / 16.68 MB, free: 5.969 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.275/1.275, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.89 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1764, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.5662/0.7427, allocations: 175.8 MB / 0.8308 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01429/0.757, allocations: 10.76 MB / 0.8413 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.7582, allocations: 31.94 kB / 0.8414 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.7594, allocations: 393.1 kB / 0.8417 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.7621, allocations: 1.046 MB / 0.8428 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.7664, allocations: 1.687 MB / 0.8444 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002346/0.7688, allocations: 2.163 MB / 0.8465 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.7705, allocations: 1.401 MB / 0.8479 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002937/0.7734, allocations: 1.248 MB / 0.8491 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008216/0.7743, allocations: 0.7314 MB / 0.8498 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.7744, allocations: 142.8 kB / 0.85 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.7772, allocations: 1.404 MB / 0.8513 GB, free: 40 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000382/0.7776, allocations: 427.8 kB / 0.8517 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006954/0.7783, allocations: 0.7198 MB / 0.8524 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003207/0.7815, allocations: 2.434 MB / 0.8548 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7815, allocations: 0 / 0.8548 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7815, allocations: 0 / 0.8548 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.959e-05/0.7816, allocations: 0 / 0.8548 GB, free: 13.54 MB / 0.6231 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.003082/0.7846, allocations: 1.779 MB / 0.8566 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/0.7847, allocations: 12.03 kB / 0.8566 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002378/0.785, allocations: 173 kB / 0.8567 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002314/0.7873, allocations: 345.8 kB / 0.8571 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.7889, allocations: 0.9564 MB / 0.858 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.789, allocations: 82.23 kB / 0.8581 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.7892, allocations: 108 kB / 0.8582 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.7913, allocations: 1.23 MB / 0.8594 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.7914, allocations: 0 / 0.8594 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.7915, allocations: 51.98 kB / 0.8594 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.7915, allocations: 32 kB / 0.8595 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.7938, allocations: 1.394 MB / 0.8608 GB, free: 7.527 MB / 0.6231 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.005626/0.7994, allocations: 3.666 MB / 0.8644 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.8014, allocations: 1.135 MB / 0.8655 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006914/0.8021, allocations: 419.7 kB / 0.8659 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007181/0.8028, allocations: 429.2 kB / 0.8663 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009586/0.8038, allocations: 0.5826 MB / 0.8669 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=97): time 2.715e-06/0.8038, allocations: 0 / 0.8669 GB, free: 1.039 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97): time 0.003686/0.8075, allocations: 1.485 MB / 0.8683 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.8076, allocations: 188.9 kB / 0.8685 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.8086, allocations: 0.8438 MB / 0.8693 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.051e-05/0.8087, allocations: 45.7 kB / 0.8694 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003701/0.809, allocations: 0.4886 MB / 0.8699 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/0.8093, allocations: 331.1 kB / 0.8702 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002821/0.8096, allocations: 178.5 kB / 0.8703 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.8098, allocations: 349.9 kB / 0.8707 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.8104, allocations: 325.8 kB / 0.871 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.8111, allocations: 477 kB / 0.8714 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.8125, allocations: 0.7859 MB / 0.8722 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8126, allocations: 0 / 0.8722 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002194/0.8148, allocations: 1.032 MB / 0.8732 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8148, allocations: 8.062 kB / 0.8732 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8148, allocations: 8.875 kB / 0.8732 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005604/0.8154, allocations: 80.77 kB / 0.8733 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.8162, allocations: 207.8 kB / 0.8735 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.8183, allocations: 1.653 MB / 0.8751 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.819, allocations: 106.9 kB / 0.8752 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/0.8191, allocations: 43.97 kB / 0.8753 GB, free: 8.105 MB / 0.6387 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.0004438/0.8196, allocations: 302.5 kB / 0.8756 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.8198, allocations: 110.6 kB / 0.8757 GB, free: 7.691 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.8225, allocations: 1.4 MB / 0.877 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.8225, allocations: 8 kB / 0.877 GB, free: 6.262 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8225, allocations: 4 kB / 0.877 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.8226, allocations: 7.922 kB / 0.8771 GB, free: 6.25 MB / 0.6387 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.004154/0.8267, allocations: 2.659 MB / 0.8797 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.8267, allocations: 3.984 kB / 0.8797 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008247/0.8276, allocations: 199.9 kB / 0.8798 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004043/0.828, allocations: 72.8 kB / 0.8799 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.561e-05/0.8281, allocations: 31.97 kB / 0.8799 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.8298, allocations: 1.674 MB / 0.8816 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.8298, allocations: 3.938 kB / 0.8816 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.8328, allocations: 1.729 MB / 0.8833 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.8333, allocations: 327.4 kB / 0.8836 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.8334, allocations: 23.94 kB / 0.8836 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.8341, allocations: 66.05 kB / 0.8837 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.8343, allocations: 76.83 kB / 0.8837 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.8344, allocations: 39.98 kB / 0.8838 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007859/0.8352, allocations: 0.6014 MB / 0.8844 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8352, allocations: 0 / 0.8844 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001091/0.8363, allocations: 415.2 kB / 0.8848 GB, free: 14.03 MB / 0.6544 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.004755/0.841, allocations: 2.87 MB / 0.8876 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.843, allocations: 0.9918 MB / 0.8885 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.843, allocations: 4 kB / 0.8885 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.844, allocations: 0.6138 MB / 0.8891 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.8459, allocations: 0.5058 MB / 0.8896 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.8592, allocations: 8.378 MB / 0.8978 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.86, allocations: 1.142 MB / 0.8989 GB, free: 15.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001105/0.8611, allocations: 353.1 kB / 0.8993 GB, free: 15.14 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/0.8617, allocations: 495.2 kB / 0.8997 GB, free: 14.66 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.8618, allocations: 8 kB / 0.8997 GB, free: 14.65 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06774/0.9295, allocations: 31.24 MB / 0.9303 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.72, allocations: 14.28 kB / 0.9303 GB, free: 15.67 MB / 0.7012 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)