Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IDEAS_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.002444/0.002444, allocations: 174.9 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.7735/0.7735, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.683/1.683, allocations: 221.3 MB / 400.4 MB, free: 5.875 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.0009577/0.0009577, allocations: 85.78 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.401e-05/4.401e-05, allocations: 2.406 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.364/4.558, allocations: 1.901 GB / 2.541 GB, free: 28.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/4.558, allocations: 81.55 kB / 2.542 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/6.237, allocations: 325.5 MB / 2.859 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/6.237, allocations: 0 / 2.859 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001977/6.237, allocations: 50.11 kB / 2.859 GB, free: 157.1 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.005279/6.242, allocations: 2.099 MB / 2.861 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.214e-05/6.242, allocations: 11.81 kB / 2.861 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003576/6.243, allocations: 238.8 kB / 2.862 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004394/6.247, allocations: 0.5521 MB / 2.862 GB, free: 156 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005855/6.253, allocations: 2.165 MB / 2.864 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/6.253, allocations: 134.2 kB / 2.864 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/6.254, allocations: 160.7 kB / 2.865 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/6.258, allocations: 1.785 MB / 2.866 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.366e-05/6.258, allocations: 0 / 2.866 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/6.258, allocations: 73.41 kB / 2.866 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.111e-05/6.258, allocations: 43.94 kB / 2.866 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003042/6.261, allocations: 1.899 MB / 2.868 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/6.272, allocations: 6.019 MB / 2.874 GB, free: 154 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/6.275, allocations: 1.863 MB / 2.876 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009379/6.276, allocations: 0.6727 MB / 2.877 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006411/6.277, allocations: 433.5 kB / 2.877 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/6.278, allocations: 0.8745 MB / 2.878 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=137): time 3.396e-06/6.278, allocations: 0 / 2.878 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=137): time 0.004065/6.282, allocations: 1.626 MB / 2.88 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/6.282, allocations: 251.7 kB / 2.88 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003777/6.286, allocations: 2.413 MB / 2.882 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/6.286, allocations: 53.2 kB / 2.882 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000895/6.287, allocations: 0.8625 MB / 2.883 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/6.288, allocations: 457.1 kB / 2.883 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-05/6.288, allocations: 21.09 kB / 2.883 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001136/6.288, allocations: 350.7 kB / 2.884 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/6.289, allocations: 497.1 kB / 2.884 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/6.289, allocations: 0.6962 MB / 2.885 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/6.29, allocations: 0.5692 MB / 2.886 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/6.29, allocations: 1.5 kB / 2.886 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00311/6.293, allocations: 1.581 MB / 2.887 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/6.293, allocations: 3.562 kB / 2.887 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.293, allocations: 7.641 kB / 2.887 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/6.294, allocations: 220.1 kB / 2.887 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/6.296, allocations: 297 kB / 2.888 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004668/6.301, allocations: 6.802 MB / 2.894 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/6.302, allocations: 162.7 kB / 2.894 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/6.303, allocations: 63.27 kB / 2.894 GB, free: 144.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 (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.0003624/6.303, allocations: 178.3 kB / 2.895 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/6.303, allocations: 182.8 kB / 2.895 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/6.308, allocations: 2.026 MB / 2.897 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/6.308, allocations: 18.62 kB / 2.897 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/6.308, allocations: 7.156 kB / 2.897 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/6.308, allocations: 9.328 kB / 2.897 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007471/6.315, allocations: 4.133 MB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/6.315, allocations: 0 / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/6.317, allocations: 321 kB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009494/6.318, allocations: 226.2 kB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/6.318, allocations: 41.41 kB / 2.901 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004979/6.323, allocations: 6.816 MB / 2.908 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/6.323, allocations: 0 / 2.908 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/6.327, allocations: 1.79 MB / 2.91 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/6.329, allocations: 0.6611 MB / 2.91 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003388/6.329, allocations: 31.84 kB / 2.91 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/6.33, allocations: 130.1 kB / 2.911 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/6.331, allocations: 112 kB / 2.911 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/6.331, allocations: 89.77 kB / 2.911 GB, free: 137 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003167/6.334, allocations: 1.898 MB / 2.913 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.81e-07/6.334, allocations: 0 / 2.913 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003823/6.338, allocations: 0.8242 MB / 2.913 GB, free: 136.8 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.006803/6.345, allocations: 3.853 MB / 2.917 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002645/6.347, allocations: 1.794 MB / 2.919 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/6.348, allocations: 4.312 kB / 2.919 GB, free: 135.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001494/6.349, allocations: 1.28 MB / 2.92 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/6.352, allocations: 476.7 kB / 2.921 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008727/6.361, allocations: 3.375 MB / 2.924 GB, free: 133.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/6.362, allocations: 1.552 MB / 2.925 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00265/6.364, allocations: 0.6537 MB / 2.926 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/6.366, allocations: 0.9135 MB / 2.927 GB, free: 133 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/6.366, allocations: 0 / 2.927 GB, free: 133 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/6.488, allocations: 69.9 MB / 2.995 GB, free: 93.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/6.488, allocations: 216.2 kB / 2.995 GB, free: 93.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.746/11.23, allocations: 0 / 2.995 GB, free: 93.56 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1)