Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.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.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",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.7859/0.7859, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.001149, allocations: 176.4 kB / 173.7 MB, free: 6.129 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.614/1.614, allocations: 205.4 MB / 409 MB, free: 10.51 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.0009847/0.0009849, allocations: 98.38 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003405, allocations: 10.81 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1613, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.197/5.358, allocations: 2.17 GB / 2.806 GB, free: 206.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/5.358, allocations: 94.94 kB / 2.806 GB, free: 206.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.913/10.27, allocations: 1.278 GB / 4.084 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.384e-06/10.27, allocations: 0 / 4.084 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001415/10.27, allocations: 46.03 kB / 4.084 GB, free: 73.98 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.006843/10.28, allocations: 2.088 MB / 4.086 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/10.28, allocations: 7.906 kB / 4.086 GB, free: 73.22 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005216/10.28, allocations: 210.6 kB / 4.086 GB, free: 73.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/10.28, allocations: 358.9 kB / 4.087 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/10.28, allocations: 1.212 MB / 4.088 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.797e-05/10.28, allocations: 110.2 kB / 4.088 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/10.28, allocations: 138.9 kB / 4.088 GB, free: 72.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/10.29, allocations: 1.586 MB / 4.089 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/10.29, allocations: 0 / 4.089 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/10.29, allocations: 60.41 kB / 4.09 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-05/10.29, allocations: 53.11 kB / 4.09 GB, free: 72.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/10.29, allocations: 1.267 MB / 4.091 GB, free: 72.57 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00988/10.3, allocations: 6.695 MB / 4.097 GB, free: 69.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/10.3, allocations: 0.7602 MB / 4.098 GB, free: 69.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00339/10.3, allocations: 1.917 MB / 4.1 GB, free: 68.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/10.3, allocations: 50.08 kB / 4.1 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 2.434e-06/10.3, allocations: 1.594 kB / 4.1 GB, free: 68.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.002511/10.31, allocations: 1.417 MB / 4.101 GB, free: 67.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/10.31, allocations: 56.88 kB / 4.101 GB, free: 67.72 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/10.31, allocations: 1.114 MB / 4.103 GB, free: 67.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.68e-05/10.31, allocations: 43.33 kB / 4.103 GB, free: 67.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/10.31, allocations: 0.7681 MB / 4.103 GB, free: 67.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/10.31, allocations: 246.7 kB / 4.104 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/10.31, allocations: 18.81 kB / 4.104 GB, free: 67.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001047/10.31, allocations: 358.3 kB / 4.104 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/10.31, allocations: 352.9 kB / 4.104 GB, free: 66.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008113/10.31, allocations: 0.8982 MB / 4.105 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/10.31, allocations: 0.4983 MB / 4.106 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/10.31, allocations: 6.156 kB / 4.106 GB, free: 66.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002045/10.31, allocations: 1.376 MB / 4.107 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/10.31, allocations: 14.94 kB / 4.107 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/10.31, allocations: 14.47 kB / 4.107 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/10.31, allocations: 144.7 kB / 4.107 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008402/10.32, allocations: 241.4 kB / 4.107 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003014/10.32, allocations: 4.682 MB / 4.112 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/10.32, allocations: 231 kB / 4.112 GB, free: 61.84 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/10.32, allocations: 64.56 kB / 4.112 GB, free: 61.84 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001073/10.32, allocations: 443.2 kB / 4.113 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/10.32, allocations: 144.6 kB / 4.113 GB, free: 61.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/10.32, allocations: 0.9015 MB / 4.114 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/10.32, allocations: 9.25 kB / 4.114 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/10.32, allocations: 2.906 kB / 4.114 GB, free: 61.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000973/10.32, allocations: 0.8831 MB / 4.115 GB, free: 61.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003953/10.33, allocations: 2.233 MB / 4.117 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/10.33, allocations: 3.953 kB / 4.117 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/10.33, allocations: 123.5 kB / 4.117 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/10.33, allocations: 120.3 kB / 4.117 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/10.33, allocations: 16.25 kB / 4.117 GB, free: 60.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/10.33, allocations: 4.661 MB / 4.122 GB, free: 56.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/10.33, allocations: 6.5 kB / 4.122 GB, free: 56.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/10.33, allocations: 1.49 MB / 4.123 GB, free: 56.39 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00092/10.34, allocations: 325.8 kB / 4.123 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/10.34, allocations: 15.25 kB / 4.123 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009245/10.34, allocations: 64.64 kB / 4.123 GB, free: 56.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/10.34, allocations: 52.8 kB / 4.123 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/10.34, allocations: 28.17 kB / 4.123 GB, free: 56.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001245/10.34, allocations: 0.8489 MB / 4.124 GB, free: 56.09 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/10.34, allocations: 3.469 kB / 4.124 GB, free: 56.09 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002966/10.34, allocations: 0.6738 MB / 4.125 GB, free: 56.05 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00624/10.35, allocations: 4.802 MB / 4.13 GB, free: 53.93 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002057/10.35, allocations: 1.239 MB / 4.131 GB, free: 53.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/10.35, allocations: 0 / 4.131 GB, free: 53.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000687/10.35, allocations: 0.6918 MB / 4.132 GB, free: 53.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003869/10.35, allocations: 0.7923 MB / 4.132 GB, free: 53.23 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/10.37, allocations: 19.16 MB / 4.151 GB, free: 39.46 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009789/10.37, allocations: 1.39 MB / 4.152 GB, free: 38.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001898/10.37, allocations: 359.9 kB / 4.153 GB, free: 38.73 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007497/10.37, allocations: 0.5422 MB / 4.153 GB, free: 38.72 MB / 0.6823 GB Notification: Performance of SimCode: time 1.683e-06/10.37, allocations: 3.906 kB / 4.153 GB, free: 38.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1368/10.51, allocations: 76.01 MB / 4.227 GB, free: 25.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/10.51, allocations: 236.9 kB / 4.228 GB, free: 25.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.766/15.28, allocations: 4 kB / 4.228 GB, free: 25.47 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)