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.005269/0.005269, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001209/0.00121, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8102/0.8102, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 74.16 kB / 0.5809 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1438, allocations: 80.21 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside): time 0.4926/0.6364, allocations: 175.8 MB / 0.8308 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01518/0.6516, allocations: 10.77 MB / 0.8414 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.6531, allocations: 31.72 kB / 0.8414 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6545, allocations: 392.8 kB / 0.8418 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.6579, allocations: 1.011 MB / 0.8427 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.6625, allocations: 1.659 MB / 0.8444 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002568/0.6651, allocations: 2.166 MB / 0.8465 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001727/0.6668, allocations: 1.396 MB / 0.8478 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.6697, allocations: 1.21 MB / 0.849 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008639/0.6706, allocations: 0.7269 MB / 0.8497 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/0.6708, allocations: 142.9 kB / 0.8499 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002585/0.6733, allocations: 1.407 MB / 0.8512 GB, free: 28 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/0.6738, allocations: 421.7 kB / 0.8516 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006652/0.6744, allocations: 0.7161 MB / 0.8523 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.6777, allocations: 2.457 MB / 0.8547 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6777, allocations: 0 / 0.8547 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6777, allocations: 0 / 0.8547 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.6777, allocations: 0 / 0.8547 GB, free: 13.52 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.002862/0.6806, allocations: 1.829 MB / 0.8565 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.6807, allocations: 8.031 kB / 0.8565 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.6809, allocations: 173 kB / 0.8567 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.6829, allocations: 362.5 kB / 0.857 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.6844, allocations: 0.9494 MB / 0.858 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.479e-05/0.6845, allocations: 82.23 kB / 0.8581 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.6847, allocations: 112 kB / 0.8582 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.6868, allocations: 1.234 MB / 0.8594 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.6868, allocations: 3.938 kB / 0.8594 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.6869, allocations: 48 kB / 0.8594 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.687, allocations: 28 kB / 0.8594 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.6894, allocations: 1.402 MB / 0.8608 GB, free: 7.457 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.005971/0.6954, allocations: 3.685 MB / 0.8644 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.6975, allocations: 1.12 MB / 0.8655 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.6983, allocations: 423.6 kB / 0.8659 GB, free: 2.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007883/0.6991, allocations: 425.3 kB / 0.8663 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/0.7002, allocations: 0.5865 MB / 0.8669 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=97): time 2.625e-06/0.7002, allocations: 0 / 0.8669 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of matching and sorting (n=97): time 0.003969/0.7042, allocations: 1.493 MB / 0.8683 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.7044, allocations: 196.9 kB / 0.8685 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.7055, allocations: 0.8361 MB / 0.8693 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/0.7056, allocations: 45.7 kB / 0.8694 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004446/0.706, allocations: 0.4972 MB / 0.8699 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/0.7064, allocations: 344.9 kB / 0.8702 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003157/0.7067, allocations: 182.6 kB / 0.8704 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.7069, allocations: 334 kB / 0.8707 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.7076, allocations: 333.8 kB / 0.871 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008689/0.7085, allocations: 473 kB / 0.8715 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.71, allocations: 0.7937 MB / 0.8722 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7101, allocations: 0 / 0.8722 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002378/0.7124, allocations: 1.044 MB / 0.8733 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.7125, allocations: 6.5 kB / 0.8733 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7125, allocations: 4 kB / 0.8733 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.7131, allocations: 84.86 kB / 0.8734 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000885/0.714, allocations: 203.7 kB / 0.8735 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.7163, allocations: 1.651 MB / 0.8752 GB, free: 8.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007675/0.7171, allocations: 116 kB / 0.8753 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-05/0.7172, allocations: 35.98 kB / 0.8753 GB, free: 8.008 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.0005474/0.7177, allocations: 306.5 kB / 0.8756 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.7179, allocations: 119.2 kB / 0.8757 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/0.721, allocations: 1.404 MB / 0.8771 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.721, allocations: 12 kB / 0.8771 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.721, allocations: 3.938 kB / 0.8771 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.721, allocations: 7.969 kB / 0.8771 GB, free: 6.133 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.004578/0.7256, allocations: 2.659 MB / 0.8797 GB, free: 3.359 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.7256, allocations: 4 kB / 0.8797 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.7265, allocations: 191.8 kB / 0.8799 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.727, allocations: 80.97 kB / 0.88 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.727, allocations: 27.98 kB / 0.88 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.7291, allocations: 1.682 MB / 0.8816 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7291, allocations: 0 / 0.8816 GB, free: 1.234 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/0.7325, allocations: 1.726 MB / 0.8833 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005077/0.733, allocations: 328 kB / 0.8836 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.7332, allocations: 27.98 kB / 0.8837 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007455/0.7339, allocations: 63.94 kB / 0.8837 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.7341, allocations: 80.78 kB / 0.8838 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.7342, allocations: 43.97 kB / 0.8838 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008692/0.7351, allocations: 0.5975 MB / 0.8844 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.2e-07/0.7351, allocations: 4 kB / 0.8844 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001128/0.7362, allocations: 426.9 kB / 0.8848 GB, free: 13.89 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.005679/0.7419, allocations: 2.869 MB / 0.8876 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.7441, allocations: 0.9875 MB / 0.8886 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7441, allocations: 0 / 0.8886 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.7452, allocations: 0.6099 MB / 0.8892 GB, free: 9.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002185/0.7474, allocations: 0.5238 MB / 0.8897 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.7624, allocations: 8.418 MB / 0.8979 GB, free: 484 kB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.7636, allocations: 1.138 MB / 0.899 GB, free: 15.31 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001254/0.7649, allocations: 359.3 kB / 0.8994 GB, free: 14.96 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007407/0.7656, allocations: 495.2 kB / 0.8999 GB, free: 14.47 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.7656, allocations: 3.938 kB / 0.8999 GB, free: 14.47 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07471/0.8403, allocations: 31.26 MB / 0.9304 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.47, allocations: 3.938 kB / 0.9304 GB, free: 15.48 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)