Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example4,fileNamePrefix="IBPSA_latest_IBPSA_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.00101/0.00101, allocations: 180.9 kB / 8.006 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4867/0.4867, allocations: 90.91 MB / 99.34 MB, free: 2.129 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 343.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009135/0.0009136, allocations: 91.27 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.949e-05, allocations: 4 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 72.32 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.996/4.132, allocations: 1.904 GB / 2.458 GB, free: 26.24 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/4.133, allocations: 91.27 kB / 2.458 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.302/9.434, allocations: 1.453 GB / 3.911 GB, free: 72.07 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/9.434, allocations: 0 / 3.911 GB, free: 72.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001587/9.434, allocations: 35.11 kB / 3.911 GB, free: 72.07 MB / 0.6511 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.004951/9.439, allocations: 1.901 MB / 3.913 GB, free: 71.65 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/9.439, allocations: 10.73 kB / 3.913 GB, free: 71.65 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/9.443, allocations: 0.5085 MB / 3.913 GB, free: 71.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/9.446, allocations: 1.226 MB / 3.914 GB, free: 71.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009399/9.447, allocations: 241.6 kB / 3.915 GB, free: 71.26 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/9.447, allocations: 59.66 kB / 3.915 GB, free: 71.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/9.448, allocations: 0.704 MB / 3.915 GB, free: 71.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/9.45, allocations: 1.062 MB / 3.916 GB, free: 70.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/9.45, allocations: 10.11 kB / 3.916 GB, free: 70.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.583e-05/9.45, allocations: 3.969 kB / 3.916 GB, free: 70.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.776e-05/9.45, allocations: 39.41 kB / 3.916 GB, free: 70.96 MB / 0.6511 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.007461/9.458, allocations: 6.393 MB / 3.923 GB, free: 66.93 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/9.459, allocations: 464.3 kB / 3.923 GB, free: 66.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/9.459, allocations: 183.4 kB / 3.923 GB, free: 66.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003594/9.459, allocations: 287.4 kB / 3.924 GB, free: 66.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/9.459, allocations: 42.28 kB / 3.924 GB, free: 66.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/9.459, allocations: 0 / 3.924 GB, free: 66.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001145/9.46, allocations: 486 kB / 3.924 GB, free: 66.39 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/9.461, allocations: 57.44 kB / 3.924 GB, free: 66.33 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/9.462, allocations: 0.8201 MB / 3.925 GB, free: 66.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/9.462, allocations: 27.89 kB / 3.925 GB, free: 66.16 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/9.462, allocations: 0.7003 MB / 3.926 GB, free: 65.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/9.462, allocations: 119.4 kB / 3.926 GB, free: 65.85 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/9.462, allocations: 0 / 3.926 GB, free: 65.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.823e-05/9.462, allocations: 333.3 kB / 3.926 GB, free: 65.55 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003193/9.463, allocations: 188 kB / 3.926 GB, free: 65.55 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/9.463, allocations: 0.5399 MB / 3.927 GB, free: 65.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/9.464, allocations: 304.8 kB / 3.927 GB, free: 65.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/9.464, allocations: 3.125 kB / 3.927 GB, free: 65.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001303/9.465, allocations: 0.7357 MB / 3.928 GB, free: 65.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008382/9.466, allocations: 4.103 MB / 3.932 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/9.466, allocations: 14.05 kB / 3.932 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.537e-05/9.466, allocations: 17.5 kB / 3.932 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/9.467, allocations: 208.8 kB / 3.932 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/9.467, allocations: 23.77 kB / 3.932 GB, free: 60.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/9.468, allocations: 177.7 kB / 3.932 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/9.468, allocations: 39.22 kB / 3.932 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/9.468, allocations: 5.875 kB / 3.932 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001068/9.469, allocations: 0.6075 MB / 3.933 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/9.469, allocations: 10.03 kB / 3.933 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/9.469, allocations: 16.53 kB / 3.933 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/9.47, allocations: 214 kB / 3.933 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/9.47, allocations: 20.77 kB / 3.933 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/9.471, allocations: 150.2 kB / 3.933 GB, free: 60.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/9.472, allocations: 39.53 kB / 3.933 GB, free: 60.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.0001943/9.472, allocations: 132.1 kB / 3.933 GB, free: 60.61 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008176/9.473, allocations: 452.8 kB / 3.934 GB, free: 60.51 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/9.473, allocations: 111.4 kB / 3.934 GB, free: 60.45 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/9.474, allocations: 493 kB / 3.934 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/9.474, allocations: 4.188 kB / 3.934 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/9.474, allocations: 0 / 3.934 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/9.474, allocations: 3.172 kB / 3.934 GB, free: 60.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/9.477, allocations: 1.665 MB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/9.477, allocations: 3.531 kB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005233/9.478, allocations: 101.7 kB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/9.478, allocations: 9.406 kB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/9.478, allocations: 13.02 kB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/9.478, allocations: 7.219 kB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/9.478, allocations: 12.05 kB / 3.936 GB, free: 59.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008681/9.479, allocations: 0.8262 MB / 3.937 GB, free: 59.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003935/9.479, allocations: 259 kB / 3.937 GB, free: 59.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/9.479, allocations: 13.7 kB / 3.937 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/9.48, allocations: 102 kB / 3.937 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.211e-05/9.48, allocations: 30.02 kB / 3.937 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/9.48, allocations: 27.59 kB / 3.937 GB, free: 59.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008378/9.481, allocations: 0.6187 MB / 3.938 GB, free: 59.09 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/9.481, allocations: 0 / 3.938 GB, free: 59.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003225/9.484, allocations: 0.8137 MB / 3.939 GB, free: 59.05 MB / 0.6511 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.006679/9.491, allocations: 5.777 MB / 3.944 GB, free: 55.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00157/9.493, allocations: 0.798 MB / 3.945 GB, free: 55.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/9.493, allocations: 3.562 kB / 3.945 GB, free: 55.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/9.493, allocations: 175.6 kB / 3.945 GB, free: 55.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/9.495, allocations: 392.8 kB / 3.946 GB, free: 55.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/9.5, allocations: 1.877 MB / 3.948 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000668/9.501, allocations: 1.214 MB / 3.949 GB, free: 54.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001602/9.502, allocations: 376.7 kB / 3.949 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/9.503, allocations: 459.4 kB / 3.95 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of SimCode: time 9.62e-07/9.503, allocations: 2.188 kB / 3.95 GB, free: 54.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07617/9.579, allocations: 48.1 MB / 3.997 GB, free: 52.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/9.579, allocations: 167 kB / 3.997 GB, free: 52.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/13.31, allocations: 4 kB / 3.997 GB, free: 52.5 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example4.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example4.pipe 2>&1)