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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM") translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001172/0.001172, allocations: 107.1 kB / 15.99 MB, free: 6.355 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.001169/0.001169, allocations: 190.4 kB / 16.9 MB, free: 6.195 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7473/0.7473, allocations: 122.9 MB / 413.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.4906 GB, free: 7.836 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3719, allocations: 77.91 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.6019/0.9738, allocations: 218.1 MB / 0.7796 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.9969, allocations: 22.16 MB / 0.8013 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.9993, allocations: 52.84 kB / 0.8013 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002203/1.002, allocations: 0.7074 MB / 0.802 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.012, allocations: 4.138 MB / 0.806 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004224/1.016, allocations: 1.13 MB / 0.8071 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006449/1.023, allocations: 4.122 MB / 0.8112 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002734/1.025, allocations: 1.57 MB / 0.8127 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/1.03, allocations: 1.851 MB / 0.8145 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004191/1.034, allocations: 1.713 MB / 0.8162 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007549/1.035, allocations: 167.4 kB / 0.8163 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005516/1.04, allocations: 2.253 MB / 0.8185 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/1.042, allocations: 0.7752 MB / 0.8193 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00282/1.045, allocations: 1.003 MB / 0.8203 GB, free: 468 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006763/1.052, allocations: 3.243 MB / 0.8235 GB, free: 64 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.052, allocations: 0 / 0.8235 GB, free: 64 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.515e-06/1.052, allocations: 0 / 0.8235 GB, free: 64 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001213/1.052, allocations: 1.406 kB / 0.8235 GB, free: 64 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006696/1.058, allocations: 2.163 MB / 0.8256 GB, free: 15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.059, allocations: 10.72 kB / 0.8256 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/1.062, allocations: 414 kB / 0.826 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/1.065, allocations: 1.145 MB / 0.8271 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/1.065, allocations: 108.5 kB / 0.8272 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004012/1.065, allocations: 136.9 kB / 0.8273 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/1.069, allocations: 1.631 MB / 0.8289 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.298e-05/1.069, allocations: 7.75 kB / 0.8289 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/1.069, allocations: 58.31 kB / 0.829 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.229e-05/1.069, allocations: 52.22 kB / 0.829 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/1.072, allocations: 1.326 MB / 0.8303 GB, free: 13.64 MB / 0.5919 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.01104/1.083, allocations: 7.151 MB / 0.8373 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/1.085, allocations: 0.9246 MB / 0.8382 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006671/1.086, allocations: 476.8 kB / 0.8387 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007289/1.086, allocations: 415.3 kB / 0.8391 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/1.086, allocations: 42.53 kB / 0.8391 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 3.216e-06/1.086, allocations: 2.969 kB / 0.8391 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.003516/1.09, allocations: 1.643 MB / 0.8407 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.09, allocations: 62.44 kB / 0.8408 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002391/1.092, allocations: 1.202 MB / 0.8419 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/1.093, allocations: 44.89 kB / 0.842 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/1.093, allocations: 0.7141 MB / 0.8427 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/1.094, allocations: 303.2 kB / 0.843 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003558/1.094, allocations: 194.5 kB / 0.8432 GB, free: 3.707 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.094, allocations: 345.9 kB / 0.8435 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006118/1.095, allocations: 368.6 kB / 0.8438 GB, free: 3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009126/1.096, allocations: 0.7257 MB / 0.8445 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/1.097, allocations: 1.073 MB / 0.8456 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.097, allocations: 4 kB / 0.8456 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00235/1.1, allocations: 1.284 MB / 0.8469 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/1.1, allocations: 8 kB / 0.8469 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/1.1, allocations: 11.94 kB / 0.8469 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003352/1.1, allocations: 137.8 kB / 0.847 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009785/1.101, allocations: 225.8 kB / 0.8472 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/1.106, allocations: 5.974 MB / 0.8531 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.107, allocations: 198.7 kB / 0.8532 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.108, allocations: 49 kB / 0.8533 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/1.109, allocations: 0.697 MB / 0.854 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008962/1.11, allocations: 0.7296 MB / 0.8547 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001396/1.111, allocations: 1.072 MB / 0.8557 GB, free: 6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.99e-06/1.111, allocations: 0 / 0.8557 GB, free: 6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.002265/1.114, allocations: 1.284 MB / 0.857 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.114, allocations: 8 kB / 0.857 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.114, allocations: 11.94 kB / 0.857 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/1.114, allocations: 137.7 kB / 0.8571 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008465/1.115, allocations: 216.5 kB / 0.8573 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004613/1.119, allocations: 5.375 MB / 0.8626 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/1.121, allocations: 171.2 kB / 0.8628 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.121, allocations: 51.98 kB / 0.8628 GB, free: 14.41 MB / 0.6231 GB 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): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.000426/1.122, allocations: 252.8 kB / 0.863 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/1.122, allocations: 138.3 kB / 0.8632 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/1.124, allocations: 1.078 MB / 0.8642 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/1.124, allocations: 8 kB / 0.8642 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/1.124, allocations: 0 / 0.8642 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/1.126, allocations: 1.026 MB / 0.8652 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/1.13, allocations: 2.591 MB / 0.8678 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.13, allocations: 4 kB / 0.8678 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/1.131, allocations: 159.6 kB / 0.8679 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/1.131, allocations: 128.9 kB / 0.868 GB, free: 8.906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-05/1.131, allocations: 20.08 kB / 0.8681 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/1.136, allocations: 5.957 MB / 0.8739 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.136, allocations: 4.031 kB / 0.8739 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/1.139, allocations: 1.66 MB / 0.8755 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/1.14, allocations: 327 kB / 0.8758 GB, free: 472 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003462/1.14, allocations: 23.98 kB / 0.8758 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/1.141, allocations: 83.83 kB / 0.8759 GB, free: 364 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/1.142, allocations: 63.02 kB / 0.876 GB, free: 300 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.846e-05/1.142, allocations: 31.98 kB / 0.876 GB, free: 268 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001356/1.143, allocations: 0.8183 MB / 0.8768 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.7e-07/1.143, allocations: 6.625 kB / 0.8768 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002986/1.146, allocations: 0.8263 MB / 0.8776 GB, free: 14.61 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0006969/1.147, allocations: 262.4 kB / 0.8779 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004067/1.151, allocations: 2.414 MB / 0.8802 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/1.151, allocations: 0 / 0.8802 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001104/1.152, allocations: 0.802 MB / 0.881 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004063/1.156, allocations: 0.819 MB / 0.8818 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/1.162, allocations: 3.502 MB / 0.8852 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.163, allocations: 1.388 MB / 0.8866 GB, free: 5.398 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001884/1.165, allocations: 460 kB / 0.887 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/1.165, allocations: 103.4 kB / 0.8871 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of SimCode: time 7.51e-07/1.165, allocations: 8 kB / 0.8871 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of Templates: time 0.05434/1.22, allocations: 31.51 MB / 0.9179 GB, free: 5.863 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)