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.7499/0.7499, allocations: 127.3 MB / 139.8 MB, free: 15.41 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.001146/0.001146, allocations: 184.8 kB / 169.7 MB, free: 1.723 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.67/1.67, allocations: 205.1 MB / 404.5 MB, free: 1.574 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.0009381/0.0009381, allocations: 98.14 kB / 481.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-05/5.512e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1653, allocations: 76.76 MB / 0.6282 GB, free: 9.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.159/5.324, allocations: 2.17 GB / 2.798 GB, free: 153.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/5.325, allocations: 87.95 kB / 2.799 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.283/10.61, allocations: 1.277 GB / 4.075 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.343e-06/10.61, allocations: 0 / 4.075 GB, free: 78.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001124/10.61, allocations: 38.56 kB / 4.075 GB, free: 78.66 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.00487/10.61, allocations: 1.863 MB / 4.077 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/10.61, allocations: 11.75 kB / 4.077 GB, free: 77.85 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/10.61, allocations: 202.6 kB / 4.077 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/10.62, allocations: 367.7 kB / 4.078 GB, free: 77.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/10.62, allocations: 1.208 MB / 4.079 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.457e-05/10.62, allocations: 106.8 kB / 4.079 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/10.62, allocations: 145.3 kB / 4.079 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/10.62, allocations: 1.557 MB / 4.081 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/10.62, allocations: 5.203 kB / 4.081 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/10.62, allocations: 54.09 kB / 4.081 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/10.62, allocations: 50.05 kB / 4.081 GB, free: 77.16 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/10.62, allocations: 1.243 MB / 4.082 GB, free: 77.14 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.008434/10.63, allocations: 6.699 MB / 4.089 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/10.63, allocations: 0.7463 MB / 4.089 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004856/10.63, allocations: 384 kB / 4.09 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003209/10.64, allocations: 1.938 MB / 4.092 GB, free: 72.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/10.64, allocations: 40.94 kB / 4.092 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=66): time 3.266e-06/10.64, allocations: 0 / 4.092 GB, free: 72.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=66): time 0.001803/10.64, allocations: 0.8766 MB / 4.092 GB, free: 72.53 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/10.64, allocations: 64.39 kB / 4.092 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/10.64, allocations: 1.101 MB / 4.094 GB, free: 72.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.742e-05/10.64, allocations: 43.42 kB / 4.094 GB, free: 72.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/10.64, allocations: 0.7693 MB / 4.094 GB, free: 71.92 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/10.64, allocations: 246.6 kB / 4.095 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/10.64, allocations: 23.62 kB / 4.095 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/10.64, allocations: 355.5 kB / 4.095 GB, free: 71.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004746/10.64, allocations: 342.3 kB / 4.095 GB, free: 71.46 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/10.64, allocations: 0.8855 MB / 4.096 GB, free: 70.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/10.64, allocations: 0.5058 MB / 4.097 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/10.64, allocations: 7.703 kB / 4.097 GB, free: 70.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001976/10.65, allocations: 1.388 MB / 4.098 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/10.65, allocations: 12.59 kB / 4.098 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/10.65, allocations: 16.12 kB / 4.098 GB, free: 70.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/10.65, allocations: 142.4 kB / 4.098 GB, free: 70.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008105/10.65, allocations: 252.8 kB / 4.098 GB, free: 70.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/10.65, allocations: 4.668 MB / 4.103 GB, free: 66.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/10.65, allocations: 227.8 kB / 4.103 GB, free: 66.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/10.65, allocations: 58.95 kB / 4.103 GB, free: 66.54 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 () * 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.0002557/10.65, allocations: 182.1 kB / 4.103 GB, free: 66.42 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/10.65, allocations: 149.1 kB / 4.104 GB, free: 66.35 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/10.65, allocations: 0.9134 MB / 4.104 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/10.65, allocations: 8.062 kB / 4.104 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/10.65, allocations: 1.125 kB / 4.104 GB, free: 66.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001081/10.65, allocations: 0.8917 MB / 4.105 GB, free: 65.95 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003686/10.66, allocations: 2.242 MB / 4.107 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/10.66, allocations: 3.875 kB / 4.107 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/10.66, allocations: 123 kB / 4.108 GB, free: 65.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/10.66, allocations: 129.7 kB / 4.108 GB, free: 65.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/10.66, allocations: 20.47 kB / 4.108 GB, free: 65.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002792/10.66, allocations: 4.655 MB / 4.112 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/10.66, allocations: 0 / 4.112 GB, free: 61.49 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/10.66, allocations: 1.499 MB / 4.114 GB, free: 61.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/10.67, allocations: 326.3 kB / 4.114 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/10.67, allocations: 17.28 kB / 4.114 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009007/10.67, allocations: 61.91 kB / 4.114 GB, free: 60.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.118e-05/10.67, allocations: 44.31 kB / 4.114 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/10.67, allocations: 28.16 kB / 4.114 GB, free: 60.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001293/10.67, allocations: 0.8372 MB / 4.115 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/10.67, allocations: 2 kB / 4.115 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002985/10.67, allocations: 0.6815 MB / 4.116 GB, free: 60.7 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 () * 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.006121/10.68, allocations: 4.81 MB / 4.12 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002102/10.68, allocations: 1.214 MB / 4.122 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/10.68, allocations: 3.406 kB / 4.122 GB, free: 58.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008008/10.68, allocations: 0.6932 MB / 4.122 GB, free: 57.75 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004146/10.68, allocations: 0.8049 MB / 4.123 GB, free: 57.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/10.69, allocations: 2.494 MB / 4.125 GB, free: 57.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/10.69, allocations: 1.387 MB / 4.127 GB, free: 56.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002191/10.69, allocations: 368.2 kB / 4.127 GB, free: 56.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/10.7, allocations: 0.5392 MB / 4.128 GB, free: 56.32 MB / 0.6823 GB Notification: Performance of SimCode: time 2.685e-06/10.7, allocations: 0 / 4.128 GB, free: 56.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1449/10.84, allocations: 81.79 MB / 4.208 GB, free: 15.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/10.84, allocations: 209.2 kB / 4.208 GB, free: 15.33 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.247/16.09, allocations: 3.938 kB / 4.208 GB, free: 15.32 MB / 0.698 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)