Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",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.009496/0.009497, allocations: 172.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7664/0.7664, allocations: 135.2 MB / 151 MB, free: 13.85 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.898/1.898, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009591, allocations: 110.3 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003786, allocations: 19.97 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4524, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.162/5.615, allocations: 1.901 GB / 2.551 GB, free: 36.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/5.615, allocations: 93.02 kB / 2.551 GB, free: 36.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9044/6.519, allocations: 153 MB / 2.7 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.187e-06/6.519, allocations: 4 kB / 2.7 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.119e-05/6.519, allocations: 28 kB / 2.7 GB, free: 162.7 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.003102/6.523, allocations: 1.498 MB / 2.702 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/6.523, allocations: 8.031 kB / 2.702 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001737/6.523, allocations: 143.7 kB / 2.702 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/6.524, allocations: 270.2 kB / 2.702 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/6.526, allocations: 0.8302 MB / 2.703 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.448e-05/6.526, allocations: 74 kB / 2.703 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/6.526, allocations: 88 kB / 2.703 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/6.527, allocations: 1.039 MB / 2.704 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/6.527, allocations: 3.984 kB / 2.704 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-05/6.528, allocations: 40 kB / 2.704 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/6.528, allocations: 24 kB / 2.704 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/6.529, allocations: 1.28 MB / 2.705 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004465/6.534, allocations: 3.129 MB / 2.708 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/6.535, allocations: 1.027 MB / 2.709 GB, free: 153 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/6.536, allocations: 134.1 kB / 2.709 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008477/6.536, allocations: 0.5553 MB / 2.71 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 3.607e-06/6.536, allocations: 0 / 2.71 GB, free: 152.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.003592/6.54, allocations: 1.536 MB / 2.711 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/6.54, allocations: 248.3 kB / 2.712 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000979/6.541, allocations: 0.8088 MB / 2.712 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/6.541, allocations: 41.7 kB / 2.713 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000331/6.542, allocations: 448.3 kB / 2.713 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/6.542, allocations: 287.8 kB / 2.713 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/6.542, allocations: 19.94 kB / 2.713 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001035/6.542, allocations: 337.9 kB / 2.714 GB, free: 148.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/6.543, allocations: 301.8 kB / 2.714 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006481/6.543, allocations: 444.6 kB / 2.714 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006429/6.544, allocations: 373 kB / 2.715 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/6.544, allocations: 0 / 2.715 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002232/6.546, allocations: 0.955 MB / 2.716 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/6.546, allocations: 17.09 kB / 2.716 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/6.546, allocations: 0 / 2.716 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008215/6.547, allocations: 121.5 kB / 2.716 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/6.548, allocations: 179.8 kB / 2.716 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/6.551, allocations: 2.865 MB / 2.719 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009799/6.552, allocations: 107.2 kB / 2.719 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/6.552, allocations: 44.03 kB / 2.719 GB, free: 142.8 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 85 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007546/6.553, allocations: 285.7 kB / 2.719 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/6.553, allocations: 98.83 kB / 2.719 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/6.555, allocations: 1.263 MB / 2.72 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/6.555, allocations: 8 kB / 2.72 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/6.555, allocations: 0 / 2.72 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/6.555, allocations: 3.984 kB / 2.72 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/6.559, allocations: 2.367 MB / 2.723 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/6.559, allocations: 0 / 2.723 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/6.56, allocations: 191.8 kB / 2.723 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005622/6.56, allocations: 109.6 kB / 2.723 GB, free: 138.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/6.56, allocations: 31.97 kB / 2.723 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/6.563, allocations: 2.906 MB / 2.726 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/6.563, allocations: 0 / 2.726 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/6.565, allocations: 1.149 MB / 2.727 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005714/6.565, allocations: 347.4 kB / 2.727 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/6.565, allocations: 20.06 kB / 2.727 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/6.566, allocations: 91.92 kB / 2.727 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/6.566, allocations: 69.36 kB / 2.728 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/6.566, allocations: 47.91 kB / 2.728 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007568/6.567, allocations: 0.6474 MB / 2.728 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/6.567, allocations: 0 / 2.728 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001726/6.569, allocations: 0.5185 MB / 2.729 GB, free: 132.2 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 91 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004622/6.573, allocations: 2.975 MB / 2.732 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001783/6.575, allocations: 1.025 MB / 2.733 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/6.575, allocations: 8 kB / 2.733 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009691/6.576, allocations: 0.6981 MB / 2.733 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/6.577, allocations: 290.8 kB / 2.734 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/6.588, allocations: 6.647 MB / 2.74 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/6.588, allocations: 1.102 MB / 2.741 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001173/6.589, allocations: 315.2 kB / 2.741 GB, free: 119.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005741/6.59, allocations: 443.2 kB / 2.742 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.968e-06/6.59, allocations: 0 / 2.742 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06337/6.653, allocations: 39.25 MB / 2.78 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/6.654, allocations: 259.6 kB / 2.78 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/10.27, allocations: 0 / 2.78 GB, free: 79.42 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)