Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6755/0.6755, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 186.9 kB / 187.3 MB, free: 11.9 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 221.3 MB / 441.4 MB, free: 4.586 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.0007492/0.0007491, allocations: 100.2 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001609/0.001609, allocations: 278.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.985e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6037/0.9245, allocations: 361.9 MB / 1.118 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.9247, allocations: 87.77 kB / 1.118 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.185/3.11, allocations: 0.701 GB / 1.819 GB, free: 136.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.342e-06/3.11, allocations: 2.625 kB / 1.819 GB, free: 136.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001524/3.11, allocations: 53.05 kB / 1.819 GB, free: 136.5 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002729/3.113, allocations: 1.85 MB / 1.821 GB, free: 135.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/3.113, allocations: 7.344 kB / 1.821 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001573/3.113, allocations: 147.7 kB / 1.821 GB, free: 135.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008974/3.114, allocations: 282 kB / 1.821 GB, free: 135.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00423/3.118, allocations: 2.506 MB / 1.824 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/3.118, allocations: 82 kB / 1.824 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/3.118, allocations: 112.9 kB / 1.824 GB, free: 135 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/3.12, allocations: 1.201 MB / 1.825 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/3.12, allocations: 3.875 kB / 1.825 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/3.12, allocations: 42.31 kB / 1.825 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/3.12, allocations: 24.59 kB / 1.825 GB, free: 134.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/3.121, allocations: 0.8795 MB / 1.826 GB, free: 134.8 MB / 0.698 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.005166/3.126, allocations: 6.622 MB / 1.832 GB, free: 130.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006958/3.127, allocations: 0.5476 MB / 1.833 GB, free: 130.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/3.127, allocations: 359.5 kB / 1.833 GB, free: 130.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/3.129, allocations: 1.639 MB / 1.835 GB, free: 129.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/3.129, allocations: 340.1 kB / 1.835 GB, free: 129.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004715/3.13, allocations: 135.3 kB / 1.835 GB, free: 129.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/3.13, allocations: 0 / 1.835 GB, free: 129.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=47): time 0.001055/3.131, allocations: 0.7656 MB / 1.836 GB, free: 129.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/3.131, allocations: 55.72 kB / 1.836 GB, free: 129.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/3.133, allocations: 1.546 MB / 1.838 GB, free: 128.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/3.133, allocations: 41.7 kB / 1.838 GB, free: 128.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004567/3.133, allocations: 0.8448 MB / 1.838 GB, free: 128.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/3.133, allocations: 167.6 kB / 1.839 GB, free: 128 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/3.133, allocations: 15.88 kB / 1.839 GB, free: 127.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.003e-05/3.133, allocations: 337.3 kB / 1.839 GB, free: 127.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/3.134, allocations: 243.4 kB / 1.839 GB, free: 127.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/3.134, allocations: 0.6938 MB / 1.84 GB, free: 126.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00042/3.134, allocations: 387.1 kB / 1.84 GB, free: 126.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/3.134, allocations: 3.438 kB / 1.84 GB, free: 126.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001351/3.136, allocations: 1.149 MB / 1.841 GB, free: 126.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005397/3.136, allocations: 4.134 MB / 1.845 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/3.136, allocations: 15.14 kB / 1.845 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/3.137, allocations: 131.8 kB / 1.846 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/3.137, allocations: 180.8 kB / 1.846 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004504/3.138, allocations: 0.7473 MB / 1.846 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009355/3.139, allocations: 114.6 kB / 1.847 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/3.139, allocations: 50.52 kB / 1.847 GB, free: 121.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/3.139, allocations: 3.375 kB / 1.847 GB, free: 121.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001193/3.14, allocations: 1.016 MB / 1.848 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/3.14, allocations: 8.938 kB / 1.848 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001769/3.14, allocations: 116.7 kB / 1.848 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/3.141, allocations: 169.2 kB / 1.848 GB, free: 120.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/3.142, allocations: 2.121 MB / 1.85 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/3.143, allocations: 99.5 kB / 1.85 GB, free: 119 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/3.143, allocations: 37.53 kB / 1.85 GB, free: 119 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001619/3.143, allocations: 167.6 kB / 1.85 GB, free: 118.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/3.143, allocations: 174.2 kB / 1.85 GB, free: 118.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/3.145, allocations: 0.9428 MB / 1.851 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/3.145, allocations: 3.969 kB / 1.851 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/3.145, allocations: 3.938 kB / 1.851 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008529/3.146, allocations: 0.8912 MB / 1.852 GB, free: 117.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/3.148, allocations: 2.116 MB / 1.854 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/3.148, allocations: 6.156 kB / 1.854 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/3.149, allocations: 96.23 kB / 1.854 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002376/3.149, allocations: 126.9 kB / 1.854 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/3.149, allocations: 7.906 kB / 1.854 GB, free: 116.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003823/3.15, allocations: 0.748 MB / 1.855 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/3.15, allocations: 3.953 kB / 1.855 GB, free: 116.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/3.151, allocations: 1.313 MB / 1.856 GB, free: 115.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/3.151, allocations: 318 kB / 1.857 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/3.152, allocations: 11.53 kB / 1.857 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/3.152, allocations: 78.53 kB / 1.857 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/3.152, allocations: 46.38 kB / 1.857 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/3.152, allocations: 21.8 kB / 1.857 GB, free: 115.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001251/3.154, allocations: 1.208 MB / 1.858 GB, free: 114.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/3.154, allocations: 1.562 kB / 1.858 GB, free: 114.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002242/3.156, allocations: 0.8664 MB / 1.859 GB, free: 114.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002776/3.159, allocations: 2.635 MB / 1.862 GB, free: 113.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001789/3.161, allocations: 1.409 MB / 1.863 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.161, allocations: 3.875 kB / 1.863 GB, free: 112.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004035/3.161, allocations: 303.8 kB / 1.863 GB, free: 112.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/3.164, allocations: 0.748 MB / 1.864 GB, free: 112.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/3.168, allocations: 2.729 MB / 1.867 GB, free: 111.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000817/3.169, allocations: 1.537 MB / 1.868 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00256/3.172, allocations: 0.895 MB / 1.869 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/3.172, allocations: 0.6183 MB / 1.87 GB, free: 109.9 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/3.172, allocations: 0 / 1.87 GB, free: 109.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06888/3.241, allocations: 54.61 MB / 1.923 GB, free: 58.66 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001438/3.241, allocations: 223.4 kB / 1.923 GB, free: 58.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.361/6.603, allocations: 4 kB / 1.923 GB, free: 58.43 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_Example3.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example3.pipe 2>&1)