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: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 105 kB / 16.41 MB, free: 6.465 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.001292/0.001292, allocations: 187 kB / 17.34 MB, free: 5.719 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002244/0.002243, allocations: 295.2 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9544/0.9544, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 99.84 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4645, allocations: 86.98 MB / 0.7671 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6654/1.13, allocations: 214.6 MB / 0.9766 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0224/1.152, allocations: 21.35 MB / 0.9975 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/1.155, allocations: 52.44 kB / 0.9975 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/1.158, allocations: 0.7381 MB / 0.9983 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.169, allocations: 4.25 MB / 1.002 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003038/1.172, allocations: 1.07 MB / 1.003 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005046/1.177, allocations: 3.91 MB / 1.007 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/1.18, allocations: 1.573 MB / 1.009 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003764/1.183, allocations: 1.643 MB / 1.01 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003951/1.187, allocations: 1.546 MB / 1.012 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007415/1.188, allocations: 163.1 kB / 1.012 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004391/1.192, allocations: 1.826 MB / 1.014 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001141/1.194, allocations: 0.7391 MB / 1.015 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002088/1.196, allocations: 0.9563 MB / 1.016 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005274/1.201, allocations: 2.935 MB / 1.018 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/1.201, allocations: 0 / 1.018 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/1.201, allocations: 0.875 kB / 1.018 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.983e-05/1.201, allocations: 0 / 1.018 GB, free: 0.5938 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.003706/1.205, allocations: 2.052 MB / 1.02 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.205, allocations: 9.219 kB / 1.02 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/1.207, allocations: 400.9 kB / 1.021 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001973/1.209, allocations: 1.152 MB / 1.022 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.072e-05/1.209, allocations: 102.9 kB / 1.022 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/1.209, allocations: 139.2 kB / 1.022 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/1.212, allocations: 1.583 MB / 1.024 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/1.212, allocations: 11.27 kB / 1.024 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/1.212, allocations: 54.94 kB / 1.024 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.574e-05/1.212, allocations: 51.56 kB / 1.024 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/1.214, allocations: 1.296 MB / 1.025 GB, free: 14.85 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.007525/1.222, allocations: 6.481 MB / 1.031 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.223, allocations: 0.9519 MB / 1.032 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005729/1.223, allocations: 478.8 kB / 1.033 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/1.224, allocations: 406.6 kB / 1.033 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/1.224, allocations: 56 kB / 1.033 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.577e-06/1.224, allocations: 0 / 1.033 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.005397/1.23, allocations: 2.94 MB / 1.036 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.23, allocations: 62.62 kB / 1.036 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/1.231, allocations: 1.193 MB / 1.037 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.949e-05/1.231, allocations: 47.38 kB / 1.037 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/1.232, allocations: 0.6817 MB / 1.038 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.232, allocations: 302.7 kB / 1.038 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/1.232, allocations: 195.9 kB / 1.038 GB, free: 9.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.232, allocations: 347 kB / 1.039 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004951/1.233, allocations: 373.5 kB / 1.039 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007852/1.234, allocations: 0.7214 MB / 1.04 GB, free: 8.633 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.01139/1.245, allocations: 2.92 MB / 1.043 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.245, allocations: 3.938 kB / 1.043 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002118/1.247, allocations: 1.302 MB / 1.044 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/1.247, allocations: 11.22 kB / 1.044 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/1.247, allocations: 10.09 kB / 1.044 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/1.248, allocations: 129.2 kB / 1.044 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/1.248, allocations: 207.6 kB / 1.044 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/1.253, allocations: 5.377 MB / 1.05 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.254, allocations: 48.19 kB / 1.05 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.254, allocations: 43.56 kB / 1.05 GB, free: 1.93 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.0008552/1.255, allocations: 431.6 kB / 1.05 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003443/1.256, allocations: 142.8 kB / 1.05 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/1.257, allocations: 1.101 MB / 1.051 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.257, allocations: 8.125 kB / 1.051 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/1.257, allocations: 0 / 1.051 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001344/1.259, allocations: 1.058 MB / 1.052 GB, free: 288 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005665/1.264, allocations: 3.093 MB / 1.055 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/1.265, allocations: 4 kB / 1.055 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007492/1.265, allocations: 158 kB / 1.056 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/1.266, allocations: 129.6 kB / 1.056 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/1.266, allocations: 28 kB / 1.056 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004421/1.27, allocations: 5.368 MB / 1.061 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.27, allocations: 4 kB / 1.061 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/1.273, allocations: 1.74 MB / 1.063 GB, free: 5.816 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008155/1.274, allocations: 319.3 kB / 1.063 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003385/1.274, allocations: 20 kB / 1.063 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009544/1.275, allocations: 30.05 kB / 1.063 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.275, allocations: 75.61 kB / 1.063 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/1.275, allocations: 39.08 kB / 1.063 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001326/1.276, allocations: 0.846 MB / 1.064 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.21e-07/1.276, allocations: 0 / 1.064 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001693/1.278, allocations: 412 kB / 1.064 GB, free: 4.078 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.0006366/1.279, allocations: 243.2 kB / 1.065 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002069/1.281, allocations: 1.291 MB / 1.066 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/1.281, allocations: 0 / 1.066 GB, free: 2.57 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/1.282, allocations: 0.7991 MB / 1.067 GB, free: 1.762 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003977/1.286, allocations: 0.8969 MB / 1.067 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.291, allocations: 2.923 MB / 1.07 GB, free: 13.86 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.292, allocations: 1.354 MB / 1.072 GB, free: 12.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/1.293, allocations: 123.4 kB / 1.072 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of SimCode: time 1.172e-06/1.293, allocations: 0 / 1.072 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of Templates: time 0.05048/1.343, allocations: 43.19 MB / 1.114 GB, free: 1.426 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)