Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009407, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 182.2 kB / 16.92 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6963/0.6963, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004324, allocations: 12 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1495, allocations: 77.53 MB / 0.56 GB, free: 8.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.5522/0.7017, allocations: 215.7 MB / 0.7706 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02918/0.7309, allocations: 22.18 MB / 0.7923 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002177/0.7331, allocations: 47.69 kB / 0.7924 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.7357, allocations: 0.68 MB / 0.793 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.7505, allocations: 4.13 MB / 0.7971 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003844/0.7543, allocations: 1.111 MB / 0.7981 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.007255/0.7616, allocations: 5.672 MB / 0.8037 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002595/0.7642, allocations: 1.331 MB / 0.805 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.7683, allocations: 1.587 MB / 0.8065 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003915/0.7723, allocations: 1.605 MB / 0.8081 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0005258/0.7728, allocations: 76 kB / 0.8082 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005048/0.7779, allocations: 2.416 MB / 0.8105 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.7791, allocations: 0.6738 MB / 0.8112 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.7812, allocations: 0.9111 MB / 0.8121 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00567/0.7869, allocations: 3.131 MB / 0.8151 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.7869, allocations: 0 / 0.8151 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7869, allocations: 0 / 0.8151 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001029/0.787, allocations: 0 / 0.8151 GB, free: 1.191 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00388/0.7909, allocations: 1.818 MB / 0.8169 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.791, allocations: 12.02 kB / 0.8169 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004668/0.7915, allocations: 202.5 kB / 0.8171 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00282/0.7943, allocations: 413.3 kB / 0.8175 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.7969, allocations: 1.145 MB / 0.8186 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.7971, allocations: 102.7 kB / 0.8187 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002973/0.7974, allocations: 143.9 kB / 0.8189 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003157/0.8005, allocations: 1.635 MB / 0.8205 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.8006, allocations: 3.938 kB / 0.8205 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.8007, allocations: 56 kB / 0.8205 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.8008, allocations: 54.53 kB / 0.8206 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002396/0.8032, allocations: 1.329 MB / 0.8219 GB, free: 10.09 MB / 0.6387 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.009572/0.8128, allocations: 7.158 MB / 0.8288 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.8142, allocations: 0.9242 MB / 0.8298 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006652/0.8149, allocations: 475.6 kB / 0.8302 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007198/0.8157, allocations: 433.3 kB / 0.8306 GB, free: 492 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.8157, allocations: 47.55 kB / 0.8307 GB, free: 432 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.846e-06/0.8157, allocations: 0 / 0.8307 GB, free: 432 kB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.3624/1.178, allocations: 1.637 MB / 0.8323 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.178, allocations: 60.53 kB / 0.8323 GB, free: 31.47 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/1.18, allocations: 1.194 MB / 0.8335 GB, free: 31.31 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/1.18, allocations: 44.33 kB / 0.8335 GB, free: 31.28 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/1.181, allocations: 0.7144 MB / 0.8342 GB, free: 31.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/1.181, allocations: 302.1 kB / 0.8345 GB, free: 30.94 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/1.181, allocations: 85.34 kB / 0.8346 GB, free: 30.92 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/1.181, allocations: 348.1 kB / 0.8349 GB, free: 30.62 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006602/1.182, allocations: 365 kB / 0.8353 GB, free: 30.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009443/1.183, allocations: 0.7251 MB / 0.836 GB, free: 30.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/1.185, allocations: 1.072 MB / 0.837 GB, free: 29.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/1.185, allocations: 2.484 kB / 0.837 GB, free: 29.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002352/1.187, allocations: 1.282 MB / 0.8383 GB, free: 29.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/1.187, allocations: 337.8 kB / 0.8386 GB, free: 29.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/1.187, allocations: 9.609 kB / 0.8386 GB, free: 29.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003621/1.188, allocations: 133.6 kB / 0.8387 GB, free: 29.39 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.189, allocations: 226.7 kB / 0.839 GB, free: 29.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/1.193, allocations: 5.436 MB / 0.8443 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/1.194, allocations: 189.9 kB / 0.8444 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.194, allocations: 48.59 kB / 0.8445 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/1.194, allocations: 5.734 kB / 0.8445 GB, free: 24.73 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001927/1.196, allocations: 1.138 MB / 0.8456 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.196, allocations: 8.469 kB / 0.8456 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/1.197, allocations: 133 kB / 0.8457 GB, free: 24.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008204/1.198, allocations: 209.5 kB / 0.8459 GB, free: 24.65 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003436/1.201, allocations: 4.842 MB / 0.8507 GB, free: 20.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/1.203, allocations: 179.7 kB / 0.8508 GB, free: 20.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/1.203, allocations: 44.27 kB / 0.8509 GB, free: 20.58 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000912/1.204, allocations: 0.5008 MB / 0.8514 GB, free: 20.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/1.204, allocations: 140 kB / 0.8515 GB, free: 20.31 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/1.206, allocations: 1.075 MB / 0.8526 GB, free: 20.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/1.206, allocations: 11.53 kB / 0.8526 GB, free: 20.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/1.206, allocations: 1.375 kB / 0.8526 GB, free: 20.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001492/1.207, allocations: 1.032 MB / 0.8536 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/1.212, allocations: 2.581 MB / 0.8561 GB, free: 19.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.212, allocations: 6.406 kB / 0.8561 GB, free: 19.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/1.212, allocations: 163 kB / 0.8563 GB, free: 19.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/1.213, allocations: 130 kB / 0.8564 GB, free: 19.47 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/1.213, allocations: 23.17 kB / 0.8564 GB, free: 19.47 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/1.216, allocations: 5.407 MB / 0.8617 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.216, allocations: 7.531 kB / 0.8617 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/1.218, allocations: 1.663 MB / 0.8633 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/1.219, allocations: 321.3 kB / 0.8636 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001484/1.219, allocations: 18.91 kB / 0.8636 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009503/1.22, allocations: 95.61 kB / 0.8637 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.22, allocations: 65.2 kB / 0.8638 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.97e-05/1.22, allocations: 31.27 kB / 0.8638 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001306/1.221, allocations: 0.8201 MB / 0.8646 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.221, allocations: 0 / 0.8646 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00284/1.224, allocations: 0.8333 MB / 0.8654 GB, free: 14.15 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002612/1.227, allocations: 2.352 MB / 0.8677 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002908/1.23, allocations: 2.205 MB / 0.8699 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.23, allocations: 0 / 0.8699 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007801/1.231, allocations: 0.8037 MB / 0.8707 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.234, allocations: 0.7878 MB / 0.8714 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/1.249, allocations: 12.42 MB / 0.8836 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007517/1.25, allocations: 1.388 MB / 0.8849 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001631/1.252, allocations: 451.2 kB / 0.8854 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007221/1.253, allocations: 0.5756 MB / 0.8859 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of SimCode: time 1.954e-06/1.253, allocations: 0 / 0.8859 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06926/1.322, allocations: 41.41 MB / 0.9264 GB, free: 304 kB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/1.322, allocations: 251.8 kB / 0.9266 GB, free: 40 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.977/4.3, allocations: 0 / 0.9266 GB, free: 40 kB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)