Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6984/0.6984, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 196.7 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 404.5 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009278/0.000928, allocations: 94.2 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.242e-05/3.261e-05, allocations: 3.984 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.332, allocations: 390 MB / 1.009 GB, free: 124.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/1.332, allocations: 94.95 kB / 1.009 GB, free: 124.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.626/5.958, allocations: 1.319 GB / 2.328 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/5.958, allocations: 0 / 2.328 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006122/5.959, allocations: 95.34 kB / 2.328 GB, free: 90.09 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: 395 * Number of variables: 395 Notification: Performance of Generate backend data structure: time 0.01158/5.97, allocations: 3.089 MB / 2.331 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/5.97, allocations: 12.09 kB / 2.331 GB, free: 88.73 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008052/5.971, allocations: 234.1 kB / 2.332 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003371/5.975, allocations: 0.5696 MB / 2.332 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/5.987, allocations: 4.483 MB / 2.337 GB, free: 87.74 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/5.988, allocations: 140.9 kB / 2.337 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005183/5.988, allocations: 185.2 kB / 2.337 GB, free: 87.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007466/5.996, allocations: 2.703 MB / 2.339 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/5.996, allocations: 6.656 kB / 2.339 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001783/5.996, allocations: 67.55 kB / 2.34 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/5.996, allocations: 41 kB / 2.34 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006632/6.002, allocations: 2.205 MB / 2.342 GB, free: 87.27 MB / 0.6823 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.01377/6.016, allocations: 11.54 MB / 2.353 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005298/6.022, allocations: 1.689 MB / 2.355 GB, free: 78.78 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/6.023, allocations: 0.8895 MB / 2.355 GB, free: 78.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005585/6.028, allocations: 3.324 MB / 2.359 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004695/6.033, allocations: 1.268 MB / 2.36 GB, free: 75.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002507/6.036, allocations: 0.6102 MB / 2.361 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 6.131e-06/6.036, allocations: 3.609 kB / 2.361 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.02041/6.056, allocations: 3.734 MB / 2.364 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/6.056, allocations: 115 kB / 2.364 GB, free: 74.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005821/6.062, allocations: 2.439 MB / 2.367 GB, free: 73.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005101/6.063, allocations: 57.52 kB / 2.367 GB, free: 73.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001771/6.064, allocations: 1.457 MB / 2.368 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006217/6.065, allocations: 336.9 kB / 2.369 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002581/6.065, allocations: 29.84 kB / 2.369 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001365/6.065, allocations: 363.1 kB / 2.369 GB, free: 71.97 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/6.067, allocations: 0.6413 MB / 2.37 GB, free: 71.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/6.068, allocations: 1.425 MB / 2.371 GB, free: 70.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/6.069, allocations: 0.8495 MB / 2.372 GB, free: 70.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/6.069, allocations: 7.594 kB / 2.372 GB, free: 70.13 MB / 0.6823 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01384/6.083, allocations: 3.519 MB / 2.375 GB, free: 69.06 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001397/6.085, allocations: 6.102 MB / 2.381 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/6.085, allocations: 18.47 kB / 2.381 GB, free: 62.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001667/6.086, allocations: 0.7826 MB / 2.382 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/6.088, allocations: 267.8 kB / 2.382 GB, free: 62.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/6.091, allocations: 2.595 MB / 2.385 GB, free: 60.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003552/6.095, allocations: 221.8 kB / 2.385 GB, free: 60.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003905/6.095, allocations: 95.94 kB / 2.385 GB, free: 60.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/6.095, allocations: 3.969 kB / 2.385 GB, free: 60.65 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00364/6.099, allocations: 2.117 MB / 2.387 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/6.099, allocations: 15.31 kB / 2.387 GB, free: 59.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/6.1, allocations: 475.8 kB / 2.388 GB, free: 59.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/6.101, allocations: 257.4 kB / 2.388 GB, free: 59.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/6.107, allocations: 5.833 MB / 2.394 GB, free: 53.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/6.11, allocations: 171.7 kB / 2.394 GB, free: 53.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/6.11, allocations: 67.84 kB / 2.394 GB, free: 53.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0008154/6.111, allocations: 212.4 kB / 2.394 GB, free: 53.55 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/6.112, allocations: 288.3 kB / 2.394 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/6.126, allocations: 3.256 MB / 2.397 GB, free: 50.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/6.126, allocations: 16 kB / 2.397 GB, free: 50.12 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/6.126, allocations: 6.578 kB / 2.397 GB, free: 50.12 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01272/6.139, allocations: 2.943 MB / 2.4 GB, free: 47.11 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/6.158, allocations: 5.25 MB / 2.405 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/6.159, allocations: 3.188 kB / 2.405 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/6.159, allocations: 128.1 kB / 2.406 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/6.161, allocations: 0.7462 MB / 2.406 GB, free: 40.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/6.161, allocations: 35.95 kB / 2.406 GB, free: 40.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/6.187, allocations: 10.4 MB / 2.416 GB, free: 30.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/6.187, allocations: 0 / 2.416 GB, free: 30.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/6.202, allocations: 4.064 MB / 2.42 GB, free: 26.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/6.204, allocations: 0.4973 MB / 2.421 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/6.205, allocations: 23.92 kB / 2.421 GB, free: 25.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002785/6.207, allocations: 195.4 kB / 2.421 GB, free: 25.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/6.208, allocations: 100.8 kB / 2.421 GB, free: 25.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/6.208, allocations: 47.94 kB / 2.421 GB, free: 25.26 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003686/6.212, allocations: 1.906 MB / 2.423 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.8e-07/6.212, allocations: 0 / 2.423 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007001/6.219, allocations: 1.568 MB / 2.425 GB, free: 21.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (56): * Single equations (assignments): 49 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.01611/6.235, allocations: 5.597 MB / 2.43 GB, free: 16.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006613/6.242, allocations: 3.265 MB / 2.433 GB, free: 13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/6.242, allocations: 0 / 2.433 GB, free: 13 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/6.245, allocations: 1.344 MB / 2.435 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006187/6.251, allocations: 1.192 MB / 2.436 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/6.267, allocations: 5.194 MB / 2.441 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002101/6.269, allocations: 2.105 MB / 2.443 GB, free: 3.133 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005705/6.275, allocations: 1.47 MB / 2.444 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/6.276, allocations: 1.124 MB / 2.445 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of SimCode: time 1.983e-06/6.276, allocations: 0 / 2.445 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6469/6.923, allocations: 104.5 MB / 2.547 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/6.923, allocations: 227.6 kB / 2.548 GB, free: 85.62 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.582/12.51, allocations: 3.938 kB / 2.548 GB, free: 85.61 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example1v1.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)