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.001274/0.001274, allocations: 110.3 kB / 16.41 MB, free: 6.5 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.001233/0.001233, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 292.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002803/0.002803, allocations: 103.8 kB / 0.6821 GB, free: 6.879 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4025, allocations: 86.98 MB / 0.7671 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6896/1.092, allocations: 215.1 MB / 0.9772 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02341/1.116, allocations: 21.38 MB / 0.9981 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/1.119, allocations: 51.03 kB / 0.9981 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/1.121, allocations: 0.7622 MB / 0.9988 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/1.131, allocations: 4.41 MB / 1.003 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/1.134, allocations: 1.074 MB / 1.004 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004543/1.138, allocations: 3.916 MB / 1.008 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0017/1.14, allocations: 1.316 MB / 1.009 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/1.143, allocations: 1.682 MB / 1.011 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/1.146, allocations: 1.565 MB / 1.012 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002395/1.146, allocations: 162.6 kB / 1.013 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/1.15, allocations: 1.836 MB / 1.014 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006392/1.15, allocations: 0.7673 MB / 1.015 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001159/1.151, allocations: 0.9481 MB / 1.016 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004542/1.156, allocations: 2.951 MB / 1.019 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/1.156, allocations: 0 / 1.019 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/1.156, allocations: 1.062 kB / 1.019 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.613e-05/1.156, allocations: 0 / 1.019 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.003313/1.159, allocations: 2.096 MB / 1.021 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/1.159, allocations: 9.344 kB / 1.021 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/1.162, allocations: 410.6 kB / 1.021 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/1.164, allocations: 1.16 MB / 1.023 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.388e-05/1.164, allocations: 101.1 kB / 1.023 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/1.164, allocations: 135 kB / 1.023 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002251/1.166, allocations: 1.582 MB / 1.024 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/1.166, allocations: 12.05 kB / 1.024 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/1.166, allocations: 53.28 kB / 1.024 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.166, allocations: 50.52 kB / 1.024 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/1.168, allocations: 1.297 MB / 1.026 GB, free: 14.78 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.007567/1.176, allocations: 6.499 MB / 1.032 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.177, allocations: 0.9125 MB / 1.033 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/1.177, allocations: 452.4 kB / 1.033 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007491/1.178, allocations: 416.1 kB / 1.034 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.178, allocations: 47.25 kB / 1.034 GB, free: 11 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/1.178, allocations: 0.7188 kB / 1.034 GB, free: 11 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.005076/1.183, allocations: 2.957 MB / 1.037 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/1.183, allocations: 67.64 kB / 1.037 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/1.185, allocations: 1.199 MB / 1.038 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-05/1.185, allocations: 46.3 kB / 1.038 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/1.186, allocations: 0.6872 MB / 1.039 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/1.186, allocations: 317.7 kB / 1.039 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/1.186, allocations: 192.4 kB / 1.039 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.186, allocations: 349.6 kB / 1.039 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/1.187, allocations: 373 kB / 1.04 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/1.188, allocations: 0.7257 MB / 1.041 GB, free: 8.242 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.01176/1.199, allocations: 2.924 MB / 1.043 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.199, allocations: 3.031 kB / 1.043 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002206/1.202, allocations: 1.314 MB / 1.045 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/1.202, allocations: 8.781 kB / 1.045 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.202, allocations: 8.406 kB / 1.045 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/1.202, allocations: 129 kB / 1.045 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/1.203, allocations: 210.5 kB / 1.045 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/1.208, allocations: 5.368 MB / 1.05 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.209, allocations: 47.09 kB / 1.05 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-05/1.209, allocations: 57.39 kB / 1.05 GB, free: 1.402 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.0009042/1.21, allocations: 432.6 kB / 1.051 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/1.21, allocations: 147.8 kB / 1.051 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/1.212, allocations: 1.091 MB / 1.052 GB, free: 436 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.212, allocations: 11.72 kB / 1.052 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/1.212, allocations: 0 / 1.052 GB, free: 432 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001401/1.214, allocations: 1.05 MB / 1.053 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/1.219, allocations: 3.076 MB / 1.056 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/1.219, allocations: 4.75 kB / 1.056 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/1.22, allocations: 158.1 kB / 1.056 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/1.22, allocations: 134.6 kB / 1.056 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.117e-05/1.22, allocations: 24 kB / 1.056 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004831/1.225, allocations: 5.37 MB / 1.062 GB, free: 7.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/1.225, allocations: 10.52 kB / 1.062 GB, free: 7.457 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/1.228, allocations: 1.744 MB / 1.063 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/1.228, allocations: 324 kB / 1.064 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.229, allocations: 23.98 kB / 1.064 GB, free: 5.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/1.229, allocations: 22.44 kB / 1.064 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.229, allocations: 85.47 kB / 1.064 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.938e-05/1.23, allocations: 35.98 kB / 1.064 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001284/1.231, allocations: 0.8446 MB / 1.065 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.231, allocations: 0 / 1.065 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001576/1.232, allocations: 411.9 kB / 1.065 GB, free: 3.879 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.0005644/1.233, allocations: 249.2 kB / 1.065 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00197/1.235, allocations: 1.252 MB / 1.066 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/1.235, allocations: 4 kB / 1.066 GB, free: 2.406 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009546/1.236, allocations: 0.7741 MB / 1.067 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.24, allocations: 0.9028 MB / 1.068 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/1.244, allocations: 2.883 MB / 1.071 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.245, allocations: 1.351 MB / 1.072 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001083/1.246, allocations: 360.6 kB / 1.073 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/1.246, allocations: 111.4 kB / 1.073 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/1.246, allocations: 0 / 1.073 GB, free: 11.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.05388/1.3, allocations: 32.22 MB / 1.104 GB, free: 12.27 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)