Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.008347/0.008347, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001237/0.001237, allocations: 187.5 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9957/0.9957, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 71.89 kB / 0.5955 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.453/0.4543, allocations: 82.03 MB / 0.6757 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.6896/1.144, allocations: 214.8 MB / 0.8854 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02639/1.17, allocations: 21.39 MB / 0.9063 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001937/1.172, allocations: 52.41 kB / 0.9063 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/1.175, allocations: 0.7437 MB / 0.9071 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01051/1.185, allocations: 4.242 MB / 0.9112 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/1.188, allocations: 1.071 MB / 0.9123 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005017/1.193, allocations: 3.914 MB / 0.9161 GB, free: 1.445 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002081/1.195, allocations: 1.577 MB / 0.9176 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003653/1.199, allocations: 1.646 MB / 0.9192 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004025/1.203, allocations: 1.537 MB / 0.9207 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004178/1.203, allocations: 163.4 kB / 0.9209 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004587/1.208, allocations: 1.83 MB / 0.9227 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009916/1.209, allocations: 0.7423 MB / 0.9234 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002051/1.211, allocations: 0.9606 MB / 0.9243 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006699/1.218, allocations: 3.039 MB / 0.9273 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/1.218, allocations: 2.312 kB / 0.9273 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.246e-06/1.218, allocations: 1.062 kB / 0.9273 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.182e-05/1.218, allocations: 2.5 kB / 0.9273 GB, free: 0.6367 MB / 0.6856 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.004254/1.222, allocations: 2.038 MB / 0.9293 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.222, allocations: 8.5 kB / 0.9293 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/1.224, allocations: 403.2 kB / 0.9297 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/1.227, allocations: 1.163 MB / 0.9308 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.059e-05/1.227, allocations: 98.59 kB / 0.9309 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001824/1.227, allocations: 132.8 kB / 0.931 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/1.229, allocations: 1.588 MB / 0.9326 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.229, allocations: 2.094 kB / 0.9326 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.229, allocations: 56.47 kB / 0.9326 GB, free: 14.93 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.875e-05/1.23, allocations: 52.44 kB / 0.9327 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/1.231, allocations: 1.295 MB / 0.934 GB, free: 14.91 MB / 0.7012 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.007647/1.239, allocations: 6.478 MB / 0.9403 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/1.24, allocations: 0.9438 MB / 0.9412 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005667/1.241, allocations: 485 kB / 0.9417 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007129/1.242, allocations: 410.5 kB / 0.9421 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/1.242, allocations: 46.22 kB / 0.9421 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.294e-06/1.242, allocations: 0.7812 kB / 0.9421 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004998/1.247, allocations: 2.948 MB / 0.945 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/1.247, allocations: 59.25 kB / 0.945 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/1.248, allocations: 1.204 MB / 0.9462 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-05/1.248, allocations: 44.86 kB / 0.9463 GB, free: 10 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/1.249, allocations: 0.6782 MB / 0.9469 GB, free: 9.738 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/1.249, allocations: 303.2 kB / 0.9472 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003202/1.249, allocations: 195 kB / 0.9474 GB, free: 9.523 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.25, allocations: 345.2 kB / 0.9477 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/1.25, allocations: 373.3 kB / 0.9481 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008952/1.251, allocations: 0.7211 MB / 0.9488 GB, free: 8.832 MB / 0.7012 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.01137/1.262, allocations: 2.926 MB / 0.9516 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.263, allocations: 2.594 kB / 0.9517 GB, free: 8.281 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002239/1.265, allocations: 1.307 MB / 0.9529 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/1.265, allocations: 10.41 kB / 0.9529 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.265, allocations: 7.938 kB / 0.9529 GB, free: 7.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002805/1.265, allocations: 128.6 kB / 0.9531 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/1.266, allocations: 208.6 kB / 0.9533 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004353/1.27, allocations: 5.369 MB / 0.9585 GB, free: 2.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.272, allocations: 55.09 kB / 0.9586 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.272, allocations: 50.72 kB / 0.9586 GB, free: 2.391 MB / 0.7012 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.0008535/1.273, allocations: 430.4 kB / 0.959 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002668/1.273, allocations: 139.9 kB / 0.9592 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.275, allocations: 1.09 MB / 0.9602 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.275, allocations: 14.59 kB / 0.9602 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/1.275, allocations: 0 / 0.9602 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/1.276, allocations: 1.057 MB / 0.9613 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00554/1.282, allocations: 3.084 MB / 0.9643 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.282, allocations: 6.25 kB / 0.9643 GB, free: 14.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007286/1.282, allocations: 162.7 kB / 0.9644 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/1.283, allocations: 123.2 kB / 0.9646 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/1.283, allocations: 25.34 kB / 0.9646 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005022/1.288, allocations: 5.372 MB / 0.9698 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/1.288, allocations: 11.62 kB / 0.9698 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/1.291, allocations: 1.731 MB / 0.9715 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.292, allocations: 319.2 kB / 0.9718 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/1.292, allocations: 27.94 kB / 0.9719 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/1.293, allocations: 29.02 kB / 0.9719 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/1.293, allocations: 74.7 kB / 0.972 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/1.293, allocations: 39.98 kB / 0.972 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001233/1.294, allocations: 0.8421 MB / 0.9728 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.294, allocations: 0 / 0.9728 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001657/1.296, allocations: 415.9 kB / 0.9732 GB, free: 5.801 MB / 0.7169 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.0006283/1.296, allocations: 248.4 kB / 0.9735 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002077/1.298, allocations: 1.29 MB / 0.9747 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/1.298, allocations: 8.078 kB / 0.9747 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.299, allocations: 0.786 MB / 0.9755 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004523/1.304, allocations: 0.8925 MB / 0.9764 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005109/1.309, allocations: 2.848 MB / 0.9791 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/1.31, allocations: 1.347 MB / 0.9805 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0016/1.312, allocations: 359.8 kB / 0.9808 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/1.313, allocations: 115.4 kB / 0.9809 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/1.313, allocations: 0 / 0.9809 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of Templates: time 0.05882/1.371, allocations: 32.69 MB / 1.013 GB, free: 13.7 MB / 0.7637 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)