Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001216/0.001216, allocations: 188.1 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008865/0.0008865, allocations: 90.3 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004655, allocations: 12.56 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2716, allocations: 106.3 MB / 0.9001 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.9007/1.172, allocations: 177.3 MB / 1.073 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03542/1.208, allocations: 18.71 MB / 1.092 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/1.211, allocations: 38.25 kB / 1.092 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003216/1.214, allocations: 0.77 MB / 1.092 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/1.227, allocations: 2.919 MB / 1.095 GB, free: 3.445 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005537/1.232, allocations: 1.289 MB / 1.096 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005893/1.238, allocations: 2.29 MB / 1.099 GB, free: 3.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/1.241, allocations: 1.2 MB / 1.1 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005419/1.246, allocations: 1.694 MB / 1.101 GB, free: 3.227 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003347/1.25, allocations: 1.133 MB / 1.103 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003962/1.25, allocations: 70.41 kB / 1.103 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/1.254, allocations: 0.7889 MB / 1.103 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.255, allocations: 0.5979 MB / 1.104 GB, free: 3.215 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/1.256, allocations: 371.2 kB / 1.104 GB, free: 3.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003558/1.26, allocations: 1.952 MB / 1.106 GB, free: 3.035 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.26, allocations: 2.938 kB / 1.106 GB, free: 3.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.246e-06/1.26, allocations: 0 / 1.106 GB, free: 3.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.7e-05/1.26, allocations: 0 / 1.106 GB, free: 3.035 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003542/1.263, allocations: 1.683 MB / 1.108 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/1.263, allocations: 11.69 kB / 1.108 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/1.264, allocations: 202.6 kB / 1.108 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/1.266, allocations: 380.5 kB / 1.108 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/1.268, allocations: 1.046 MB / 1.11 GB, free: 17.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.869e-05/1.268, allocations: 105.1 kB / 1.11 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/1.268, allocations: 129.8 kB / 1.11 GB, free: 17.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/1.271, allocations: 1.582 MB / 1.111 GB, free: 17.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/1.271, allocations: 6.844 kB / 1.111 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/1.271, allocations: 55.41 kB / 1.111 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.577e-05/1.271, allocations: 56.02 kB / 1.111 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/1.273, allocations: 1.281 MB / 1.113 GB, free: 17.37 MB / 0.7136 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.009671/1.283, allocations: 6.503 MB / 1.119 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/1.284, allocations: 0.7675 MB / 1.12 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005025/1.285, allocations: 159.3 kB / 1.12 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/1.285, allocations: 44.47 kB / 1.12 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 3.556e-06/1.285, allocations: 1.75 kB / 1.12 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.003494/1.288, allocations: 1.528 MB / 1.121 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/1.288, allocations: 63.5 kB / 1.122 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/1.29, allocations: 1.251 MB / 1.123 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.29, allocations: 43.92 kB / 1.123 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005348/1.291, allocations: 0.6915 MB / 1.123 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/1.291, allocations: 264.9 kB / 1.124 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/1.291, allocations: 16.91 kB / 1.124 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.291, allocations: 350.6 kB / 1.124 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/1.292, allocations: 335.9 kB / 1.124 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/1.293, allocations: 0.6962 MB / 1.125 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/1.293, allocations: 464.9 kB / 1.125 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/1.293, allocations: 4.875 kB / 1.125 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001898/1.295, allocations: 1.234 MB / 1.127 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.295, allocations: 14.41 kB / 1.127 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/1.295, allocations: 11.86 kB / 1.127 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/1.295, allocations: 131 kB / 1.127 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007174/1.296, allocations: 201.9 kB / 1.127 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/1.301, allocations: 4.866 MB / 1.132 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/1.304, allocations: 193 kB / 1.132 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/1.304, allocations: 46.16 kB / 1.132 GB, free: 7.238 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * 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.001281/1.305, allocations: 430 kB / 1.132 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/1.306, allocations: 139.8 kB / 1.133 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/1.309, allocations: 1.045 MB / 1.134 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/1.309, allocations: 12.89 kB / 1.134 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.309, allocations: 0 / 1.134 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001244/1.31, allocations: 0.9302 MB / 1.135 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/1.315, allocations: 2.383 MB / 1.137 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.315, allocations: 2.5 kB / 1.137 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/1.316, allocations: 135.5 kB / 1.137 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003048/1.316, allocations: 119.7 kB / 1.137 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.245e-05/1.316, allocations: 27.48 kB / 1.137 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004791/1.321, allocations: 4.858 MB / 1.142 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.321, allocations: 11.72 kB / 1.142 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/1.324, allocations: 1.655 MB / 1.143 GB, free: 388 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/1.325, allocations: 328.4 kB / 1.144 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.325, allocations: 18 kB / 1.144 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009478/1.326, allocations: 68.12 kB / 1.144 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.326, allocations: 58.56 kB / 1.144 GB, free: 124 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/1.326, allocations: 29.14 kB / 1.144 GB, free: 120 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001429/1.328, allocations: 0.8637 MB / 1.145 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.513e-06/1.328, allocations: 0 / 1.145 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001918/1.33, allocations: 454.8 kB / 1.145 GB, free: 15.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (61): * Single equations (assignments): 58 * 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.003415/1.333, allocations: 3.003 MB / 1.148 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002066/1.335, allocations: 1.188 MB / 1.149 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.335, allocations: 0.75 kB / 1.149 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0009215/1.336, allocations: 0.7387 MB / 1.15 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.34, allocations: 0.828 MB / 1.151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02054/1.361, allocations: 14.57 MB / 1.165 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/1.362, allocations: 1.378 MB / 1.166 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001885/1.364, allocations: 355.5 kB / 1.167 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007279/1.365, allocations: 0.533 MB / 1.167 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of SimCode: time 1.022e-06/1.365, allocations: 0 / 1.167 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.476, allocations: 41.8 MB / 1.208 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/1.477, allocations: 242 kB / 1.208 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.465/4.942, allocations: 0 / 1.208 GB, free: 10.02 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)