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/Complex 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) 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001503, allocations: 177.2 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.535/0.535, allocations: 90.92 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 343.2 MB, free: 1.551 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000858/0.0008581, allocations: 106.9 kB / 415.9 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.797e-05, allocations: 8 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 72.3 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.51/4.646, allocations: 1.891 GB / 2.445 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/4.647, allocations: 88.8 kB / 2.445 GB, free: 39.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.312/9.959, allocations: 1.286 GB / 3.731 GB, free: 73.01 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/9.959, allocations: 1.859 kB / 3.731 GB, free: 73.01 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000112/9.959, allocations: 39.89 kB / 3.731 GB, free: 73.01 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004015/9.963, allocations: 1.839 MB / 3.733 GB, free: 72.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/9.963, allocations: 7.906 kB / 3.733 GB, free: 72.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/9.965, allocations: 388.2 kB / 3.733 GB, free: 72.26 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/9.967, allocations: 1.154 MB / 3.734 GB, free: 71.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/9.968, allocations: 43.27 kB / 3.734 GB, free: 71.96 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/9.968, allocations: 79.53 kB / 3.734 GB, free: 71.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001808/9.97, allocations: 1.115 MB / 3.735 GB, free: 71.95 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/9.972, allocations: 1.32 MB / 3.737 GB, free: 71.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/9.972, allocations: 1.594 kB / 3.737 GB, free: 71.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-05/9.972, allocations: 3.906 kB / 3.737 GB, free: 71.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/9.972, allocations: 45.2 kB / 3.737 GB, free: 71.75 MB / 0.6355 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.007147/9.979, allocations: 6.249 MB / 3.743 GB, free: 68.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/9.98, allocations: 0.883 MB / 3.744 GB, free: 68.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/9.981, allocations: 426.5 kB / 3.744 GB, free: 68.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006203/9.981, allocations: 414 kB / 3.745 GB, free: 68.11 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/9.981, allocations: 44.47 kB / 3.745 GB, free: 68.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.146e-06/9.981, allocations: 0 / 3.745 GB, free: 68.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.005428/9.987, allocations: 2.501 MB / 3.747 GB, free: 67.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/9.987, allocations: 68.11 kB / 3.747 GB, free: 67.45 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/9.988, allocations: 0.714 MB / 3.748 GB, free: 67.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/9.988, allocations: 25.7 kB / 3.748 GB, free: 67.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/9.988, allocations: 0.6842 MB / 3.748 GB, free: 66.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/9.988, allocations: 290.2 kB / 3.749 GB, free: 66.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/9.989, allocations: 3.469 kB / 3.749 GB, free: 66.77 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/9.989, allocations: 349.7 kB / 3.749 GB, free: 66.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/9.989, allocations: 340 kB / 3.749 GB, free: 66.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/9.99, allocations: 0.6921 MB / 3.75 GB, free: 66.06 MB / 0.6355 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/9.992, allocations: 1.15 MB / 3.751 GB, free: 65.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/9.992, allocations: 3.5 kB / 3.751 GB, free: 65.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002171/9.994, allocations: 1.285 MB / 3.752 GB, free: 65.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/9.995, allocations: 10.72 kB / 3.752 GB, free: 65.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/9.995, allocations: 10.88 kB / 3.753 GB, free: 65.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003735/9.995, allocations: 148.4 kB / 3.753 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007484/9.996, allocations: 214.1 kB / 3.753 GB, free: 65.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002866/9.999, allocations: 4.596 MB / 3.757 GB, free: 61.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/10, allocations: 93.88 kB / 3.757 GB, free: 61.96 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/10, allocations: 42.41 kB / 3.757 GB, free: 61.96 MB / 0.6355 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 113 * 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.0002075/10, allocations: 142.6 kB / 3.758 GB, free: 61.86 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001714/10, allocations: 1.049 MB / 3.759 GB, free: 61.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/10, allocations: 118.9 kB / 3.759 GB, free: 61.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/10, allocations: 1.117 MB / 3.76 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/10, allocations: 6.625 kB / 3.76 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/10, allocations: 0 / 3.76 GB, free: 61.56 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/10.01, allocations: 1.119 MB / 3.761 GB, free: 61.26 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/10.01, allocations: 2.955 MB / 3.764 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/10.01, allocations: 3.688 kB / 3.764 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/10.01, allocations: 154.4 kB / 3.764 GB, free: 60.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003064/10.01, allocations: 141.3 kB / 3.764 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/10.01, allocations: 19.86 kB / 3.764 GB, free: 60.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/10.01, allocations: 4.589 MB / 3.769 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/10.01, allocations: 12.72 kB / 3.769 GB, free: 56.62 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/10.02, allocations: 2.037 MB / 3.771 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006566/10.02, allocations: 287.2 kB / 3.771 GB, free: 55.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/10.02, allocations: 7.594 kB / 3.771 GB, free: 55.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/10.02, allocations: 63 kB / 3.771 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/10.02, allocations: 81.64 kB / 3.771 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.863e-05/10.02, allocations: 36.64 kB / 3.771 GB, free: 55.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007146/10.02, allocations: 0.5377 MB / 3.772 GB, free: 55.51 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/10.02, allocations: 0 / 3.772 GB, free: 55.51 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002146/10.02, allocations: 0.5277 MB / 3.772 GB, free: 55.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.006258/10.03, allocations: 6.803 MB / 3.779 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001634/10.03, allocations: 1.169 MB / 3.78 GB, free: 51.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/10.03, allocations: 2.531 kB / 3.78 GB, free: 51.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/10.03, allocations: 0.7331 MB / 3.781 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/10.03, allocations: 0.6022 MB / 3.781 GB, free: 51.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/10.04, allocations: 2.507 MB / 3.784 GB, free: 50.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008219/10.04, allocations: 1.395 MB / 3.785 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001194/10.04, allocations: 304.7 kB / 3.785 GB, free: 49.58 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/10.04, allocations: 0.528 MB / 3.786 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/10.04, allocations: 0 / 3.786 GB, free: 49.57 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0856/10.13, allocations: 51.51 MB / 3.836 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/10.13, allocations: 150.5 kB / 3.836 GB, free: 46.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.659/13.79, allocations: 0 / 3.836 GB, free: 46.8 MB / 0.6355 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/linux/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)