Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.727/0.727, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 221.3 MB / 400.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.000903, allocations: 103.8 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.101e-05, allocations: 3.25 kB / 0.5601 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 82.3 MB / 0.6405 GB, free: 7.73 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.409/5.609, allocations: 1.9 GB / 2.541 GB, free: 26.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/5.609, allocations: 89.44 kB / 2.541 GB, free: 26.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.634/7.243, allocations: 318 MB / 2.852 GB, free: 154 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/7.243, allocations: 0 / 2.852 GB, free: 154 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001967/7.243, allocations: 49.06 kB / 2.852 GB, free: 154 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004574/7.248, allocations: 1.762 MB / 2.853 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/7.248, allocations: 11.47 kB / 2.853 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000514/7.249, allocations: 239.6 kB / 2.854 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/7.252, allocations: 498.9 kB / 2.854 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/7.254, allocations: 0.9792 MB / 2.855 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/7.255, allocations: 125.7 kB / 2.855 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/7.255, allocations: 158.8 kB / 2.855 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/7.258, allocations: 1.679 MB / 2.857 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/7.258, allocations: 3.844 kB / 2.857 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/7.258, allocations: 70.88 kB / 2.857 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/7.258, allocations: 40.44 kB / 2.857 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002984/7.261, allocations: 1.709 MB / 2.859 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008522/7.27, allocations: 4.865 MB / 2.863 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/7.272, allocations: 1.568 MB / 2.865 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008856/7.273, allocations: 0.5766 MB / 2.866 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/7.274, allocations: 0.8003 MB / 2.866 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/7.275, allocations: 0.7702 MB / 2.867 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.336e-06/7.275, allocations: 0 / 2.867 GB, free: 149.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.00299/7.278, allocations: 1.354 MB / 2.868 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/7.278, allocations: 250.7 kB / 2.869 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009753/7.279, allocations: 0.741 MB / 2.869 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/7.279, allocations: 51.3 kB / 2.869 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004426/7.28, allocations: 0.6389 MB / 2.87 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003199/7.28, allocations: 456.6 kB / 2.87 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/7.28, allocations: 24.19 kB / 2.87 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.597e-05/7.28, allocations: 348.8 kB / 2.871 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005879/7.281, allocations: 398.4 kB / 2.871 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/7.282, allocations: 0.548 MB / 2.872 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007616/7.282, allocations: 480.6 kB / 2.872 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/7.282, allocations: 0 / 2.872 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002474/7.285, allocations: 1.325 MB / 2.873 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/7.285, allocations: 3.875 kB / 2.873 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/7.285, allocations: 7.188 kB / 2.873 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008572/7.286, allocations: 190.8 kB / 2.874 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/7.287, allocations: 305.8 kB / 2.874 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004079/7.291, allocations: 6.758 MB / 2.881 GB, free: 141.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/7.293, allocations: 152.3 kB / 2.881 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/7.293, allocations: 54.58 kB / 2.881 GB, free: 141.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003281/7.293, allocations: 173.1 kB / 2.881 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/7.293, allocations: 125.4 kB / 2.881 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/7.297, allocations: 1.661 MB / 2.883 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/7.297, allocations: 17.94 kB / 2.883 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/7.297, allocations: 3.844 kB / 2.883 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/7.297, allocations: 7.734 kB / 2.883 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00502/7.302, allocations: 3.246 MB / 2.886 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/7.302, allocations: 3.125 kB / 2.886 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/7.303, allocations: 308.7 kB / 2.886 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/7.304, allocations: 193 kB / 2.886 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.695e-05/7.304, allocations: 42.73 kB / 2.886 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003958/7.308, allocations: 6.789 MB / 2.893 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/7.308, allocations: 0 / 2.893 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/7.311, allocations: 1.508 MB / 2.894 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/7.311, allocations: 413.8 kB / 2.895 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/7.312, allocations: 29.53 kB / 2.895 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/7.313, allocations: 123.9 kB / 2.895 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/7.313, allocations: 99.91 kB / 2.895 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/7.313, allocations: 76.41 kB / 2.895 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007765/7.314, allocations: 0.5859 MB / 2.896 GB, free: 134 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.9e-07/7.314, allocations: 3.172 kB / 2.896 GB, free: 134 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002207/7.316, allocations: 0.6904 MB / 2.896 GB, free: 133.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005492/7.322, allocations: 3.591 MB / 2.9 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002257/7.324, allocations: 1.652 MB / 2.902 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/7.324, allocations: 4.5 kB / 2.902 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/7.325, allocations: 1.209 MB / 2.903 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/7.327, allocations: 436.9 kB / 2.903 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/7.333, allocations: 2.534 MB / 2.906 GB, free: 131.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/7.334, allocations: 1.307 MB / 2.907 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001628/7.335, allocations: 408.5 kB / 2.907 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/7.336, allocations: 0.6127 MB / 2.908 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.195e-06/7.336, allocations: 0 / 2.908 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09811/7.434, allocations: 56.25 MB / 2.963 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/7.434, allocations: 211.4 kB / 2.963 GB, free: 119.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.09/11.52, allocations: 0 / 2.963 GB, free: 119.7 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)