Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example4,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4",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.00119/0.00119, 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.7163/0.7163, 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.309/1.309, allocations: 221.3 MB / 400.4 MB, free: 5.848 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.0008437/0.0008438, allocations: 91.78 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.897e-05, allocations: 2.25 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.389/3.505, allocations: 1.914 GB / 2.555 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/3.505, allocations: 88.64 kB / 2.555 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.5/8.006, allocations: 1.47 GB / 4.025 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.032e-06/8.006, allocations: 0 / 4.025 GB, free: 74.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001363/8.006, allocations: 41.17 kB / 4.025 GB, free: 74.38 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00412/8.01, allocations: 1.895 MB / 4.027 GB, free: 73.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/8.01, allocations: 7.531 kB / 4.027 GB, free: 73.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002582/8.01, allocations: 159.8 kB / 4.027 GB, free: 73.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/8.013, allocations: 0.505 MB / 4.028 GB, free: 73.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/8.015, allocations: 1.234 MB / 4.029 GB, free: 73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008483/8.016, allocations: 278.7 kB / 4.029 GB, free: 72.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/8.016, allocations: 102.1 kB / 4.029 GB, free: 72.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/8.018, allocations: 1.2 MB / 4.03 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/8.018, allocations: 0 / 4.03 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.903e-05/8.018, allocations: 42.22 kB / 4.03 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/8.018, allocations: 48.5 kB / 4.03 GB, free: 72.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/8.019, allocations: 0.8308 MB / 4.031 GB, free: 72.68 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/8.025, allocations: 6.663 MB / 4.038 GB, free: 68.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/8.026, allocations: 419.6 kB / 4.038 GB, free: 68.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/8.026, allocations: 192.3 kB / 4.038 GB, free: 68.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/8.026, allocations: 282.5 kB / 4.039 GB, free: 68.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/8.026, allocations: 42.88 kB / 4.039 GB, free: 68.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/8.026, allocations: 0 / 4.039 GB, free: 68.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.0008498/8.027, allocations: 0.4981 MB / 4.039 GB, free: 68.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/8.027, allocations: 58.03 kB / 4.039 GB, free: 68.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/8.028, allocations: 1.146 MB / 4.04 GB, free: 67.86 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/8.028, allocations: 36.77 kB / 4.04 GB, free: 67.83 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/8.029, allocations: 0.6811 MB / 4.041 GB, free: 67.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/8.029, allocations: 115.1 kB / 4.041 GB, free: 67.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/8.029, allocations: 14.28 kB / 4.041 GB, free: 67.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.856e-05/8.029, allocations: 338.1 kB / 4.041 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/8.029, allocations: 201.8 kB / 4.042 GB, free: 67.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004909/8.03, allocations: 0.5531 MB / 4.042 GB, free: 66.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/8.03, allocations: 285.8 kB / 4.042 GB, free: 66.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/8.03, allocations: 7.609 kB / 4.042 GB, free: 66.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001092/8.031, allocations: 0.8208 MB / 4.043 GB, free: 66.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007261/8.032, allocations: 3.811 MB / 4.047 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/8.032, allocations: 7.219 kB / 4.047 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/8.032, allocations: 15.19 kB / 4.047 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/8.033, allocations: 207.4 kB / 4.047 GB, free: 62.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/8.033, allocations: 22.94 kB / 4.047 GB, free: 62.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/8.034, allocations: 237.5 kB / 4.047 GB, free: 62.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/8.034, allocations: 45.36 kB / 4.047 GB, free: 62.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.253e-06/8.034, allocations: 3.688 kB / 4.047 GB, free: 62.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008367/8.035, allocations: 0.6572 MB / 4.048 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/8.035, allocations: 9.062 kB / 4.048 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/8.035, allocations: 25.58 kB / 4.048 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/8.036, allocations: 203.9 kB / 4.048 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/8.036, allocations: 24.22 kB / 4.048 GB, free: 62.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/8.037, allocations: 201 kB / 4.048 GB, free: 62.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/8.037, allocations: 41.73 kB / 4.049 GB, free: 62.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/8.037, allocations: 159.5 kB / 4.049 GB, free: 62.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/8.037, allocations: 139.1 kB / 4.049 GB, free: 62.46 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008661/8.038, allocations: 0.5098 MB / 4.049 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/8.038, allocations: 3.969 kB / 4.049 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/8.038, allocations: 0 / 4.049 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/8.038, allocations: 3.844 kB / 4.049 GB, free: 62.39 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/8.04, allocations: 1.765 MB / 4.051 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/8.04, allocations: 6.312 kB / 4.051 GB, free: 61.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/8.041, allocations: 102.4 kB / 4.051 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/8.041, allocations: 15.05 kB / 4.051 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/8.041, allocations: 14.36 kB / 4.051 GB, free: 61.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/8.041, allocations: 7.875 kB / 4.051 GB, free: 61.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/8.041, allocations: 7.719 kB / 4.051 GB, free: 61.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/8.042, allocations: 0.8832 MB / 4.052 GB, free: 61.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003285/8.042, allocations: 288 kB / 4.052 GB, free: 61.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/8.042, allocations: 9.969 kB / 4.052 GB, free: 61.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/8.043, allocations: 107.6 kB / 4.052 GB, free: 61.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/8.043, allocations: 42.2 kB / 4.052 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.866e-05/8.043, allocations: 17.98 kB / 4.052 GB, free: 61.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008724/8.044, allocations: 0.8858 MB / 4.053 GB, free: 60.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/8.044, allocations: 0 / 4.053 GB, free: 60.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002191/8.046, allocations: 0.8779 MB / 4.054 GB, free: 60.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004082/8.05, allocations: 5.48 MB / 4.06 GB, free: 57.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001126/8.052, allocations: 0.8867 MB / 4.06 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/8.052, allocations: 0.8438 kB / 4.06 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002422/8.052, allocations: 192.1 kB / 4.061 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/8.054, allocations: 0.6171 MB / 4.061 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003705/8.058, allocations: 1.962 MB / 4.063 GB, free: 56.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/8.058, allocations: 1.214 MB / 4.064 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001603/8.06, allocations: 479.3 kB / 4.065 GB, free: 56.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/8.06, allocations: 459.8 kB / 4.065 GB, free: 56 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/8.06, allocations: 0 / 4.065 GB, free: 56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.942/10, allocations: 85.56 MB / 4.149 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/10, allocations: 179.9 kB / 4.149 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.089/15.09, allocations: 3.938 kB / 4.149 GB, free: 15.2 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example4.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1)