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.002008/0.002008, allocations: 174.7 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.756/0.756, 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.623/1.623, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.001192/0.001192, allocations: 101.8 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.787e-05/6.789e-05, allocations: 4.031 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.185, allocations: 82.31 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.53/5.715, allocations: 1.901 GB / 2.541 GB, free: 28.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/5.715, allocations: 83.95 kB / 2.542 GB, free: 28.08 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.7896/6.505, allocations: 152.6 MB / 2.691 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/6.505, allocations: 4 kB / 2.691 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001461/6.505, allocations: 39.86 kB / 2.691 GB, free: 153.2 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.003541/6.509, allocations: 1.324 MB / 2.692 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/6.509, allocations: 12.02 kB / 2.692 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/6.509, allocations: 147.7 kB / 2.692 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001877/6.511, allocations: 262.2 kB / 2.692 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/6.513, allocations: 0.8187 MB / 2.693 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.152e-05/6.513, allocations: 66 kB / 2.693 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001915/6.513, allocations: 88 kB / 2.693 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/6.515, allocations: 0.9977 MB / 2.694 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/6.515, allocations: 0 / 2.694 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/6.515, allocations: 40 kB / 2.694 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/6.515, allocations: 24 kB / 2.694 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/6.517, allocations: 1.186 MB / 2.695 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005389/6.522, allocations: 3.144 MB / 2.699 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/6.523, allocations: 0.9493 MB / 2.699 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/6.524, allocations: 352.2 kB / 2.7 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002778/6.524, allocations: 137.8 kB / 2.7 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008335/6.525, allocations: 0.5128 MB / 2.7 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 4.228e-06/6.525, allocations: 0 / 2.7 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.002316/6.527, allocations: 0.8756 MB / 2.701 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/6.528, allocations: 240.1 kB / 2.701 GB, free: 141.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/6.529, allocations: 0.8049 MB / 2.702 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/6.529, allocations: 45.7 kB / 2.702 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/6.529, allocations: 452.3 kB / 2.703 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/6.53, allocations: 279.9 kB / 2.703 GB, free: 140 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/6.53, allocations: 12 kB / 2.703 GB, free: 140 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/6.53, allocations: 337.9 kB / 2.703 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/6.53, allocations: 265.5 kB / 2.704 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/6.531, allocations: 403.6 kB / 2.704 GB, free: 139 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005116/6.531, allocations: 313.9 kB / 2.704 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/6.531, allocations: 0 / 2.704 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001911/6.533, allocations: 0.8795 MB / 2.705 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/6.533, allocations: 8.891 kB / 2.705 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/6.533, allocations: 4.062 kB / 2.705 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/6.534, allocations: 113.6 kB / 2.705 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/6.535, allocations: 187.7 kB / 2.705 GB, free: 137.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002415/6.537, allocations: 2.84 MB / 2.708 GB, free: 134.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009278/6.538, allocations: 103.4 kB / 2.708 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/6.538, allocations: 35.97 kB / 2.708 GB, free: 134.2 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 (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.0002019/6.539, allocations: 148.9 kB / 2.709 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/6.539, allocations: 110.7 kB / 2.709 GB, free: 134 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/6.541, allocations: 1.169 MB / 2.71 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/6.541, allocations: 8 kB / 2.71 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.541, allocations: 4 kB / 2.71 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/6.541, allocations: 7.938 kB / 2.71 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/6.545, allocations: 2.267 MB / 2.712 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/6.545, allocations: 3.938 kB / 2.712 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007643/6.546, allocations: 191.8 kB / 2.712 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/6.546, allocations: 113.6 kB / 2.712 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/6.546, allocations: 31.91 kB / 2.712 GB, free: 130.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/6.548, allocations: 2.864 MB / 2.715 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/6.548, allocations: 8.25 kB / 2.715 GB, free: 127 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/6.55, allocations: 1.063 MB / 2.716 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/6.551, allocations: 351.5 kB / 2.716 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/6.551, allocations: 24 kB / 2.717 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/6.552, allocations: 87.92 kB / 2.717 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/6.552, allocations: 72.84 kB / 2.717 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/6.552, allocations: 43.97 kB / 2.717 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007957/6.553, allocations: 0.6358 MB / 2.717 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.553, allocations: 0 / 2.717 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001776/6.555, allocations: 0.5224 MB / 2.718 GB, free: 124.1 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 (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.004881/6.56, allocations: 2.84 MB / 2.721 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001475/6.561, allocations: 0.946 MB / 2.722 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/6.561, allocations: 0 / 2.722 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008802/6.562, allocations: 0.6473 MB / 2.722 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/6.563, allocations: 296.7 kB / 2.722 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005046/6.568, allocations: 1.898 MB / 2.724 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/6.569, allocations: 1.108 MB / 2.725 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001249/6.57, allocations: 323.2 kB / 2.726 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006958/6.571, allocations: 431.2 kB / 2.726 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of SimCode: time 9.82e-07/6.571, allocations: 7.938 kB / 2.726 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0731/6.644, allocations: 41.47 MB / 2.767 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/6.644, allocations: 227.1 kB / 2.767 GB, free: 74.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.369/10.01, allocations: 0 / 2.767 GB, free: 74.17 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)