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.004428/0.004428, allocations: 103 kB / 15.73 MB, free: 6.035 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.001064/0.001064, allocations: 190 kB / 16.67 MB, free: 5.965 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.247/1.247, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 286.7 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8855/0.8855, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 95.91 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1754, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5892/0.7647, allocations: 214.6 MB / 0.9755 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.787, allocations: 21.35 MB / 0.9963 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7887, allocations: 55.69 kB / 0.9964 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.7906, allocations: 0.7492 MB / 0.9971 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.009268/0.7999, allocations: 4.236 MB / 1.001 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.8025, allocations: 1.061 MB / 1.002 GB, free: 0.6797 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004225/0.8067, allocations: 3.92 MB / 1.006 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.8085, allocations: 1.569 MB / 1.008 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002509/0.811, allocations: 1.615 MB / 1.009 GB, free: 9.531 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.8134, allocations: 1.552 MB / 1.011 GB, free: 7.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.8137, allocations: 160 kB / 1.011 GB, free: 7.824 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003187/0.8169, allocations: 1.824 MB / 1.013 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006067/0.8175, allocations: 0.7442 MB / 1.013 GB, free: 5.25 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000895/0.8184, allocations: 0.9605 MB / 1.014 GB, free: 4.285 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.8214, allocations: 2.925 MB / 1.017 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.8214, allocations: 8 kB / 1.017 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8214, allocations: 0 / 1.017 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.436e-05/0.8215, allocations: 0 / 1.017 GB, free: 1.344 MB / 0.7637 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.002889/0.8244, allocations: 2.045 MB / 1.019 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.8244, allocations: 8.031 kB / 1.019 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.8246, allocations: 198.1 kB / 1.019 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.8266, allocations: 393.6 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.8286, allocations: 1.155 MB / 1.021 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/0.8287, allocations: 99.44 kB / 1.021 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.8288, allocations: 139.9 kB / 1.021 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.8309, allocations: 1.583 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.831, allocations: 11.94 kB / 1.023 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.8311, allocations: 52 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.8311, allocations: 50.44 kB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.8329, allocations: 1.294 MB / 1.024 GB, free: 10.12 MB / 0.7794 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.006904/0.8398, allocations: 6.477 MB / 1.03 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.8411, allocations: 0.9544 MB / 1.031 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/0.8417, allocations: 482.5 kB / 1.032 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.8423, allocations: 413 kB / 1.032 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8424, allocations: 43.22 kB / 1.032 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.8424, allocations: 0 / 1.032 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of matching and sorting (n=84): time 0.004511/0.8469, allocations: 2.937 MB / 1.035 GB, free: 14.21 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.8469, allocations: 72.34 kB / 1.035 GB, free: 14.12 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.8482, allocations: 1.193 MB / 1.036 GB, free: 12.91 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.8483, allocations: 45.7 kB / 1.036 GB, free: 12.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.8487, allocations: 0.6799 MB / 1.037 GB, free: 12.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.8489, allocations: 295.7 kB / 1.037 GB, free: 11.88 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002565/0.8492, allocations: 198.5 kB / 1.037 GB, free: 11.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8493, allocations: 349.9 kB / 1.038 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.8498, allocations: 377.8 kB / 1.038 GB, free: 10.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.8506, allocations: 0.7191 MB / 1.039 GB, free: 10.1 MB / 0.795 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.01078/0.8614, allocations: 2.915 MB / 1.042 GB, free: 7.066 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8614, allocations: 4 kB / 1.042 GB, free: 7.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001895/0.8633, allocations: 1.308 MB / 1.043 GB, free: 5.734 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.8633, allocations: 8 kB / 1.043 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.8633, allocations: 8 kB / 1.043 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002524/0.8636, allocations: 139.1 kB / 1.043 GB, free: 5.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.8643, allocations: 203.7 kB / 1.043 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.8684, allocations: 5.37 MB / 1.049 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.8695, allocations: 51.88 kB / 1.049 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.466e-05/0.8696, allocations: 44 kB / 1.049 GB, free: 15.5 MB / 0.8106 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.0006085/0.8702, allocations: 432.4 kB / 1.049 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.8704, allocations: 142.4 kB / 1.049 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.872, allocations: 1.096 MB / 1.05 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.872, allocations: 8 kB / 1.05 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.872, allocations: 4 kB / 1.05 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/0.8733, allocations: 1.051 MB / 1.051 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004772/0.8781, allocations: 3.101 MB / 1.054 GB, free: 9.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.8781, allocations: 4 kB / 1.054 GB, free: 9.383 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000671/0.8788, allocations: 159.7 kB / 1.055 GB, free: 9.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.879, allocations: 122.5 kB / 1.055 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.8791, allocations: 31.98 kB / 1.055 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.8828, allocations: 5.364 MB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.8828, allocations: 11.94 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.8849, allocations: 1.742 MB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005559/0.8854, allocations: 315.3 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000167/0.8856, allocations: 24 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.8863, allocations: 27.98 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.8865, allocations: 72.36 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.8865, allocations: 35.98 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009655/0.8875, allocations: 0.8461 MB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8875, allocations: 0 / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001295/0.8888, allocations: 412 kB / 1.063 GB, free: 15.69 MB / 0.8262 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.0026/0.8914, allocations: 2.421 MB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.8931, allocations: 1.289 MB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.8931, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.8939, allocations: 0.7893 MB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/0.8972, allocations: 0.904 MB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.91, allocations: 11.23 MB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/0.9109, allocations: 1.363 MB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001038/0.9119, allocations: 352.6 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/0.9125, allocations: 0.55 MB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.9125, allocations: 0 / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3859/1.298, allocations: 43.32 MB / 1.124 GB, free: 282.5 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.39, allocations: 10.19 kB / 1.124 GB, free: 282.5 MB / 0.8419 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)