Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_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.001094/0.001094, allocations: 174.8 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.7537/0.7537, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.784/1.784, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.0009829/0.0009828, allocations: 97.44 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.851e-05/4.871e-05, allocations: 4.188 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2013, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.486/5.687, allocations: 1.9 GB / 2.541 GB, free: 28.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/5.687, allocations: 87.95 kB / 2.541 GB, free: 28.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.601/7.288, allocations: 318 MB / 2.852 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.913e-06/7.288, allocations: 1.031 kB / 2.852 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002504/7.289, allocations: 51.14 kB / 2.852 GB, free: 153.6 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.004752/7.293, allocations: 1.762 MB / 2.853 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/7.293, allocations: 8.5 kB / 2.853 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/7.294, allocations: 237.2 kB / 2.854 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/7.297, allocations: 0.4921 MB / 2.854 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/7.299, allocations: 0.9706 MB / 2.855 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-05/7.299, allocations: 131.5 kB / 2.855 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/7.299, allocations: 160 kB / 2.855 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002904/7.302, allocations: 1.681 MB / 2.857 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/7.302, allocations: 3.75 kB / 2.857 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/7.302, allocations: 73.94 kB / 2.857 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/7.303, allocations: 40.41 kB / 2.857 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00292/7.305, allocations: 1.71 MB / 2.859 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009333/7.315, allocations: 4.864 MB / 2.863 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/7.317, allocations: 1.562 MB / 2.865 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/7.318, allocations: 0.577 MB / 2.866 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008584/7.319, allocations: 0.8006 MB / 2.866 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/7.321, allocations: 0.7706 MB / 2.867 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 7.655e-06/7.321, allocations: 3.844 kB / 2.867 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.0039/7.325, allocations: 1.348 MB / 2.868 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/7.325, allocations: 253.6 kB / 2.869 GB, free: 149 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/7.327, allocations: 0.7412 MB / 2.869 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/7.327, allocations: 54.05 kB / 2.869 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006797/7.328, allocations: 0.6296 MB / 2.87 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/7.328, allocations: 466.5 kB / 2.87 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.719e-05/7.328, allocations: 24.25 kB / 2.87 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.357e-05/7.328, allocations: 346.1 kB / 2.871 GB, free: 148 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006328/7.329, allocations: 400 kB / 2.871 GB, free: 148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/7.33, allocations: 0.5523 MB / 2.872 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/7.331, allocations: 478.2 kB / 2.872 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/7.331, allocations: 0 / 2.872 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002729/7.333, allocations: 1.322 MB / 2.873 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/7.333, allocations: 8.031 kB / 2.873 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/7.333, allocations: 3.25 kB / 2.873 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008917/7.334, allocations: 189.6 kB / 2.874 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/7.336, allocations: 303.5 kB / 2.874 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/7.34, allocations: 6.756 MB / 2.881 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/7.342, allocations: 152.9 kB / 2.881 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/7.342, allocations: 52.31 kB / 2.881 GB, free: 141.4 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.0003868/7.342, allocations: 177 kB / 2.881 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/7.343, allocations: 124.4 kB / 2.881 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/7.346, allocations: 1.669 MB / 2.883 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/7.346, allocations: 11.66 kB / 2.883 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/7.346, allocations: 3.938 kB / 2.883 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/7.346, allocations: 7.125 kB / 2.883 GB, free: 141 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/7.353, allocations: 3.244 MB / 2.886 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/7.353, allocations: 4.188 kB / 2.886 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/7.354, allocations: 308.3 kB / 2.886 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007984/7.355, allocations: 197.7 kB / 2.886 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/7.355, allocations: 40.75 kB / 2.886 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004238/7.359, allocations: 6.797 MB / 2.893 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/7.359, allocations: 0 / 2.893 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/7.362, allocations: 1.51 MB / 2.894 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/7.363, allocations: 411.2 kB / 2.895 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/7.364, allocations: 28.91 kB / 2.895 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/7.365, allocations: 124.5 kB / 2.895 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/7.365, allocations: 103.3 kB / 2.895 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/7.365, allocations: 73.73 kB / 2.895 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009872/7.366, allocations: 0.5934 MB / 2.896 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.366, allocations: 3.438 kB / 2.896 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00257/7.369, allocations: 0.6849 MB / 2.896 GB, free: 133.5 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.006411/7.375, allocations: 3.577 MB / 2.9 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002559/7.378, allocations: 1.656 MB / 2.902 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/7.378, allocations: 4.5 kB / 2.902 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/7.38, allocations: 1.203 MB / 2.903 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002614/7.382, allocations: 439.4 kB / 2.903 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007628/7.39, allocations: 2.529 MB / 2.906 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/7.391, allocations: 1.309 MB / 2.907 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002129/7.393, allocations: 411.7 kB / 2.907 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/7.394, allocations: 0.6072 MB / 2.908 GB, free: 130 MB / 0.6823 GB Notification: Performance of SimCode: time 1.924e-06/7.394, allocations: 1.219 kB / 2.908 GB, free: 130 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09653/7.491, allocations: 56.24 MB / 2.963 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/7.491, allocations: 227.7 kB / 2.963 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.985/11.48, allocations: 0 / 2.963 GB, free: 121.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)