Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.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_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData",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.001847/0.001847, 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.7775/0.7775, 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.768/1.768, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.001116/0.001116, allocations: 97.44 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.239e-05/5.266e-05, allocations: 3.156 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2196, allocations: 82.31 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.636/4.855, allocations: 1.901 GB / 2.541 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/4.856, allocations: 83.95 kB / 2.542 GB, free: 27.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.484/6.34, allocations: 325.5 MB / 2.859 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/6.34, allocations: 3.188 kB / 2.859 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003083/6.34, allocations: 54.94 kB / 2.859 GB, free: 157.8 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: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.00587/6.346, allocations: 2.1 MB / 2.861 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/6.346, allocations: 9.188 kB / 2.861 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006499/6.347, allocations: 236.6 kB / 2.862 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/6.351, allocations: 0.5507 MB / 2.862 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/6.356, allocations: 2.172 MB / 2.864 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/6.356, allocations: 120.5 kB / 2.864 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/6.357, allocations: 163.6 kB / 2.865 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/6.36, allocations: 1.785 MB / 2.866 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/6.36, allocations: 5.562 kB / 2.866 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/6.36, allocations: 68.34 kB / 2.866 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/6.36, allocations: 41.06 kB / 2.866 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002556/6.363, allocations: 1.903 MB / 2.868 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009535/6.372, allocations: 6.017 MB / 2.874 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/6.375, allocations: 1.855 MB / 2.876 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008908/6.376, allocations: 0.6819 MB / 2.877 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005789/6.376, allocations: 431.6 kB / 2.877 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/6.378, allocations: 0.8764 MB / 2.878 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.156e-06/6.378, allocations: 0 / 2.878 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.003469/6.381, allocations: 1.624 MB / 2.88 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.693e-05/6.381, allocations: 250.8 kB / 2.88 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/6.384, allocations: 2.416 MB / 2.882 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/6.385, allocations: 53.39 kB / 2.882 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000647/6.385, allocations: 0.8617 MB / 2.883 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/6.386, allocations: 463.6 kB / 2.883 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/6.386, allocations: 24 kB / 2.884 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.529e-05/6.386, allocations: 347.8 kB / 2.884 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006826/6.387, allocations: 488.4 kB / 2.884 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008/6.387, allocations: 0.702 MB / 2.885 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/6.388, allocations: 0.5675 MB / 2.886 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/6.388, allocations: 3.594 kB / 2.886 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003214/6.391, allocations: 1.58 MB / 2.887 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/6.391, allocations: 6.812 kB / 2.887 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/6.391, allocations: 0 / 2.887 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009961/6.392, allocations: 211.3 kB / 2.887 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/6.394, allocations: 306.3 kB / 2.888 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/6.398, allocations: 6.792 MB / 2.894 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001884/6.4, allocations: 166.4 kB / 2.894 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/6.4, allocations: 64.48 kB / 2.894 GB, free: 145.5 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 (131): * Single equations (assignments): 126 * 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.0003514/6.4, allocations: 184.6 kB / 2.895 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00042/6.401, allocations: 185.3 kB / 2.895 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/6.405, allocations: 2.03 MB / 2.897 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/6.405, allocations: 15.44 kB / 2.897 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/6.405, allocations: 3.938 kB / 2.897 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/6.405, allocations: 3.891 kB / 2.897 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007171/6.412, allocations: 4.148 MB / 2.901 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/6.412, allocations: 3.75 kB / 2.901 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/6.414, allocations: 319.8 kB / 2.901 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/6.415, allocations: 218.8 kB / 2.901 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/6.415, allocations: 45.66 kB / 2.901 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004072/6.419, allocations: 6.809 MB / 2.908 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/6.419, allocations: 7.016 kB / 2.908 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00336/6.422, allocations: 1.786 MB / 2.91 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/6.424, allocations: 0.6687 MB / 2.91 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003012/6.424, allocations: 29.59 kB / 2.91 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/6.425, allocations: 130.7 kB / 2.911 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/6.425, allocations: 112.9 kB / 2.911 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001389/6.426, allocations: 83.19 kB / 2.911 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002267/6.428, allocations: 1.9 MB / 2.913 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/6.428, allocations: 2.875 kB / 2.913 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002553/6.43, allocations: 0.8204 MB / 2.913 GB, free: 137.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.005956/6.436, allocations: 3.856 MB / 2.917 GB, free: 136.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00234/6.439, allocations: 1.795 MB / 2.919 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/6.439, allocations: 0.5625 kB / 2.919 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/6.44, allocations: 1.281 MB / 2.92 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/6.442, allocations: 471.7 kB / 2.921 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/6.449, allocations: 3.373 MB / 2.924 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/6.45, allocations: 1.554 MB / 2.925 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002338/6.453, allocations: 0.6535 MB / 2.926 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/6.454, allocations: 0.9131 MB / 2.927 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of SimCode: time 6.32e-07/6.454, allocations: 3.812 kB / 2.927 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/6.567, allocations: 69.9 MB / 2.995 GB, free: 93.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/6.567, allocations: 228.1 kB / 2.996 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.357/10.92, allocations: 4 kB / 2.996 GB, free: 93.28 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)