Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildingSystems_BuildingSystems_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.005822/0.005822, allocations: 101.2 kB / 15.73 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 195.9 kB / 16.67 MB, free: 5.461 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.263/1.263, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.2 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 99.83 kB / 0.681 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4511, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6246/1.076, allocations: 214.6 MB / 0.9755 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01984/1.096, allocations: 21.35 MB / 0.9963 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/1.098, allocations: 53.62 kB / 0.9964 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/1.099, allocations: 0.7413 MB / 0.9971 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008429/1.108, allocations: 4.242 MB / 1.001 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/1.11, allocations: 1.068 MB / 1.002 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003752/1.114, allocations: 3.921 MB / 1.006 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/1.116, allocations: 1.565 MB / 1.008 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/1.118, allocations: 1.641 MB / 1.009 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/1.121, allocations: 1.558 MB / 1.011 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/1.121, allocations: 163.2 kB / 1.011 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/1.125, allocations: 1.825 MB / 1.013 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008924/1.126, allocations: 0.7418 MB / 1.013 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/1.127, allocations: 0.9564 MB / 1.014 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004687/1.132, allocations: 2.928 MB / 1.017 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/1.132, allocations: 0.625 kB / 1.017 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/1.132, allocations: 4.875 kB / 1.017 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.809e-05/1.132, allocations: 0 / 1.017 GB, free: 0.5781 MB / 0.7169 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.003273/1.135, allocations: 2.035 MB / 1.019 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/1.135, allocations: 10.75 kB / 1.019 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002128/1.136, allocations: 204.1 kB / 1.019 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/1.138, allocations: 400.4 kB / 1.02 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/1.14, allocations: 1.154 MB / 1.021 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/1.14, allocations: 102.2 kB / 1.021 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/1.14, allocations: 137.5 kB / 1.021 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/1.142, allocations: 1.582 MB / 1.023 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/1.142, allocations: 8.406 kB / 1.023 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/1.142, allocations: 53.81 kB / 1.023 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/1.142, allocations: 51.39 kB / 1.023 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/1.144, allocations: 1.299 MB / 1.024 GB, free: 14.81 MB / 0.7325 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.006506/1.15, allocations: 6.476 MB / 1.03 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/1.151, allocations: 0.9525 MB / 1.031 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005199/1.152, allocations: 481.1 kB / 1.032 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/1.153, allocations: 416.8 kB / 1.032 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/1.153, allocations: 47.7 kB / 1.032 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.274e-06/1.153, allocations: 0 / 1.032 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004616/1.157, allocations: 2.943 MB / 1.035 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/1.157, allocations: 60.16 kB / 1.035 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.159, allocations: 1.198 MB / 1.036 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.172e-05/1.159, allocations: 47.61 kB / 1.036 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/1.159, allocations: 0.6748 MB / 1.037 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/1.159, allocations: 304.4 kB / 1.037 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/1.16, allocations: 194.6 kB / 1.038 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001134/1.16, allocations: 344 kB / 1.038 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004685/1.16, allocations: 377.9 kB / 1.038 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007516/1.161, allocations: 0.7226 MB / 1.039 GB, free: 8.547 MB / 0.7325 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.01121/1.172, allocations: 2.922 MB / 1.042 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/1.172, allocations: 2.844 kB / 1.042 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002306/1.174, allocations: 1.303 MB / 1.043 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.175, allocations: 11.69 kB / 1.043 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/1.175, allocations: 5.938 kB / 1.043 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/1.175, allocations: 134.7 kB / 1.043 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/1.176, allocations: 206.2 kB / 1.043 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/1.18, allocations: 5.371 MB / 1.049 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/1.181, allocations: 50.73 kB / 1.049 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/1.181, allocations: 47.11 kB / 1.049 GB, free: 1.793 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0007663/1.182, allocations: 423.1 kB / 1.049 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.182, allocations: 144.3 kB / 1.049 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001637/1.184, allocations: 1.107 MB / 1.05 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.184, allocations: 9.219 kB / 1.05 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.184, allocations: 3.094 kB / 1.05 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00125/1.185, allocations: 1.051 MB / 1.051 GB, free: 148 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/1.19, allocations: 3.084 MB / 1.054 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/1.19, allocations: 12.03 kB / 1.054 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/1.191, allocations: 153.3 kB / 1.055 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002492/1.191, allocations: 134.4 kB / 1.055 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.275e-05/1.191, allocations: 24 kB / 1.055 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/1.195, allocations: 5.367 MB / 1.06 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.298e-06/1.195, allocations: 15.08 kB / 1.06 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/1.198, allocations: 1.739 MB / 1.062 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007192/1.198, allocations: 315.3 kB / 1.062 GB, free: 5.156 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003153/1.199, allocations: 19.98 kB / 1.062 GB, free: 5.137 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/1.2, allocations: 31.94 kB / 1.062 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.2, allocations: 75.5 kB / 1.062 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/1.2, allocations: 35.98 kB / 1.062 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001289/1.201, allocations: 0.8492 MB / 1.063 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.201, allocations: 0 / 1.063 GB, free: 4.148 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001645/1.203, allocations: 412 kB / 1.063 GB, free: 3.746 MB / 0.7481 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.002849/1.206, allocations: 2.419 MB / 1.066 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001856/1.207, allocations: 1.292 MB / 1.067 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.208, allocations: 0 / 1.067 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/1.208, allocations: 0.7885 MB / 1.068 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.212, allocations: 0.8933 MB / 1.069 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/1.227, allocations: 11.24 MB / 1.08 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.228, allocations: 1.363 MB / 1.081 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001146/1.229, allocations: 344.7 kB / 1.081 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/1.23, allocations: 0.5423 MB / 1.082 GB, free: 352 kB / 0.7637 GB Notification: Performance of SimCode: time 8.01e-07/1.23, allocations: 0 / 1.082 GB, free: 352 kB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08137/1.312, allocations: 44.44 MB / 1.125 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/14.22, allocations: 7.062 kB / 1.125 GB, free: 4.602 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_PPM.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)