Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IDEAS_dev_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.01539/0.01539, allocations: 170.1 kB / 15.11 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.327/1.327, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.742/2.742, allocations: 223.2 MB / 406.9 MB, free: 3.242 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.001599/0.001599, allocations: 104.3 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000694/0.0006944, allocations: 8 kB / 0.5692 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.04/1.041, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.75/11.79, allocations: 1.901 GB / 2.551 GB, free: 36.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005572/11.79, allocations: 91.39 kB / 2.551 GB, free: 36.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.494/13.28, allocations: 153 MB / 2.7 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.983e-06/13.28, allocations: 0 / 2.7 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001686/13.28, allocations: 28 kB / 2.7 GB, free: 162.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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.006402/13.29, allocations: 1.498 MB / 2.702 GB, free: 161 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001059/13.29, allocations: 12.03 kB / 2.702 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004616/13.29, allocations: 147.7 kB / 2.702 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/13.29, allocations: 266.2 kB / 2.702 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/13.3, allocations: 0.8225 MB / 2.703 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/13.3, allocations: 70 kB / 2.703 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/13.3, allocations: 92 kB / 2.703 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003351/13.3, allocations: 1.037 MB / 2.704 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/13.3, allocations: 4 kB / 2.704 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/13.3, allocations: 43.98 kB / 2.704 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/13.3, allocations: 24 kB / 2.704 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/13.31, allocations: 1.276 MB / 2.705 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01081/13.32, allocations: 3.133 MB / 2.708 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/13.32, allocations: 1.035 MB / 2.709 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/13.32, allocations: 138.1 kB / 2.709 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/13.32, allocations: 0.5436 MB / 2.71 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=86): time 5.56e-06/13.32, allocations: 0 / 2.71 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86): time 0.00764/13.33, allocations: 1.544 MB / 2.711 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002201/13.33, allocations: 248.3 kB / 2.712 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/13.33, allocations: 0.8088 MB / 2.712 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002984/13.33, allocations: 45.69 kB / 2.713 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006159/13.33, allocations: 444.3 kB / 2.713 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/13.33, allocations: 287.8 kB / 2.713 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/13.33, allocations: 16 kB / 2.713 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001801/13.33, allocations: 341.9 kB / 2.714 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/13.34, allocations: 305.8 kB / 2.714 GB, free: 148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/13.34, allocations: 441.9 kB / 2.714 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/13.34, allocations: 365 kB / 2.715 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/13.34, allocations: 0 / 2.715 GB, free: 147.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004605/13.34, allocations: 0.9627 MB / 2.716 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-05/13.34, allocations: 4 kB / 2.716 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/13.34, allocations: 0 / 2.716 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001457/13.34, allocations: 125.6 kB / 2.716 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/13.35, allocations: 183.8 kB / 2.716 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004977/13.35, allocations: 2.859 MB / 2.719 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/13.35, allocations: 111.3 kB / 2.719 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/13.35, allocations: 35.98 kB / 2.719 GB, free: 142.6 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.001384/13.36, allocations: 289.6 kB / 2.719 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/13.36, allocations: 102.8 kB / 2.719 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005338/13.36, allocations: 1.259 MB / 2.72 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/13.36, allocations: 8 kB / 2.72 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/13.36, allocations: 4 kB / 2.72 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/13.36, allocations: 11.91 kB / 2.72 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008643/13.37, allocations: 2.359 MB / 2.723 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/13.37, allocations: 0 / 2.723 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001735/13.37, allocations: 191.8 kB / 2.723 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/13.37, allocations: 117.5 kB / 2.723 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/13.37, allocations: 23.98 kB / 2.723 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004913/13.38, allocations: 2.907 MB / 2.726 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/13.38, allocations: 0 / 2.726 GB, free: 135 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005231/13.38, allocations: 1.153 MB / 2.727 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001484/13.39, allocations: 347.4 kB / 2.727 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/13.39, allocations: 20 kB / 2.727 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/13.39, allocations: 83.92 kB / 2.727 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/13.39, allocations: 72.91 kB / 2.728 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000176/13.39, allocations: 43.97 kB / 2.728 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001802/13.39, allocations: 0.6474 MB / 2.728 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.91e-07/13.39, allocations: 0 / 2.728 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003941/13.39, allocations: 0.5185 MB / 2.729 GB, free: 132.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) * 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.01185/13.41, allocations: 2.971 MB / 2.732 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005561/13.41, allocations: 1.033 MB / 2.733 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/13.41, allocations: 0 / 2.733 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/13.41, allocations: 0.7021 MB / 2.733 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/13.42, allocations: 299.6 kB / 2.734 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/13.45, allocations: 6.638 MB / 2.74 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001157/13.45, allocations: 1.106 MB / 2.741 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00238/13.45, allocations: 319.2 kB / 2.741 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/13.45, allocations: 435.2 kB / 2.742 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.544e-06/13.45, allocations: 4 kB / 2.742 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/13.6, allocations: 39.26 MB / 2.78 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005231/13.6, allocations: 264.5 kB / 2.78 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/20.66, allocations: 0 / 2.78 GB, free: 79.23 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)