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.001087/0.001087, allocations: 109 kB / 16.41 MB, free: 6.512 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.001099/0.001099, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.356/1.356, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 288.4 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9293/0.9293, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3789, allocations: 86.98 MB / 0.7671 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5955/0.9745, allocations: 214.6 MB / 0.9767 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.9937, allocations: 21.35 MB / 0.9975 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.9952, allocations: 52.69 kB / 0.9975 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.9969, allocations: 0.754 MB / 0.9983 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008673/1.006, allocations: 4.409 MB / 1.003 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002126/1.008, allocations: 1.07 MB / 1.004 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003383/1.011, allocations: 3.923 MB / 1.007 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/1.013, allocations: 1.571 MB / 1.009 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/1.015, allocations: 1.675 MB / 1.011 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/1.017, allocations: 1.567 MB / 1.012 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000231/1.018, allocations: 160.8 kB / 1.012 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/1.021, allocations: 1.842 MB / 1.014 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005761/1.021, allocations: 0.7378 MB / 1.015 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008215/1.022, allocations: 0.9599 MB / 1.016 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003078/1.025, allocations: 2.93 MB / 1.019 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.025, allocations: 3.219 kB / 1.019 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.313e-06/1.025, allocations: 0.6875 kB / 1.019 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.199e-05/1.025, allocations: 0 / 1.019 GB, free: 0.582 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.002983/1.028, allocations: 2.044 MB / 1.021 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/1.028, allocations: 8.469 kB / 1.021 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/1.031, allocations: 404 kB / 1.021 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.033, allocations: 1.152 MB / 1.022 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.585e-05/1.033, allocations: 106.6 kB / 1.022 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/1.033, allocations: 137.4 kB / 1.022 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/1.035, allocations: 1.584 MB / 1.024 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/1.035, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.035, allocations: 61.53 kB / 1.024 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/1.035, allocations: 54.44 kB / 1.024 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/1.037, allocations: 1.299 MB / 1.025 GB, free: 14.84 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.006832/1.044, allocations: 6.475 MB / 1.032 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.045, allocations: 0.9504 MB / 1.033 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005658/1.046, allocations: 482 kB / 1.033 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006781/1.046, allocations: 412.5 kB / 1.033 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.046, allocations: 49.66 kB / 1.033 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.606e-06/1.046, allocations: 3.938 kB / 1.033 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.004734/1.051, allocations: 2.941 MB / 1.036 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/1.051, allocations: 59.72 kB / 1.036 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/1.053, allocations: 1.2 MB / 1.038 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.77e-05/1.053, allocations: 41.55 kB / 1.038 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/1.053, allocations: 0.6834 MB / 1.038 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000225/1.053, allocations: 300.4 kB / 1.039 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/1.054, allocations: 192.6 kB / 1.039 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001129/1.054, allocations: 346.3 kB / 1.039 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/1.054, allocations: 372.7 kB / 1.039 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007941/1.055, allocations: 0.7246 MB / 1.04 GB, free: 8.586 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.01125/1.066, allocations: 2.922 MB / 1.043 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.066, allocations: 1.812 kB / 1.043 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0018/1.068, allocations: 1.306 MB / 1.044 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/1.068, allocations: 8.156 kB / 1.044 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.068, allocations: 8.812 kB / 1.044 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/1.068, allocations: 133.3 kB / 1.044 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/1.069, allocations: 205.9 kB / 1.045 GB, free: 7.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/1.073, allocations: 5.374 MB / 1.05 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001047/1.074, allocations: 48.55 kB / 1.05 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/1.074, allocations: 47.73 kB / 1.05 GB, free: 1.82 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.0006437/1.075, allocations: 428.1 kB / 1.05 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.075, allocations: 139.9 kB / 1.05 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/1.077, allocations: 1.1 MB / 1.052 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001253/1.078, allocations: 1.058 MB / 1.053 GB, free: 184 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.078, allocations: 4 kB / 1.053 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/1.079, allocations: 307.1 kB / 1.053 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/1.079, allocations: 12.81 kB / 1.053 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/1.08, allocations: 25.02 kB / 1.053 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/1.08, allocations: 48.41 kB / 1.053 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002136/1.082, allocations: 1.18 MB / 1.054 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002013/1.084, allocations: 1.633 MB / 1.056 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005405/1.084, allocations: 434.9 kB / 1.056 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00104/1.085, allocations: 0.8217 MB / 1.057 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of Backend: time 1.984e-06/1.085, allocations: 0 / 1.057 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00273/1.088, allocations: 1.428 MB / 1.058 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of SimCode: time 0.005594/1.094, allocations: 3.64 MB / 1.062 GB, free: 7.09 MB / 0.7481 GB Notification: Performance of Templates: time 0.04948/1.143, allocations: 33.42 MB / 1.095 GB, free: 6.18 MB / 0.7794 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)