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.001202/0.001202, allocations: 111.5 kB / 16.37 MB, free: 6.344 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.001218/0.001218, allocations: 191 kB / 17.3 MB, free: 5.898 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.311/1.311, allocations: 222.9 MB / 241 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.002198/0.002198, allocations: 281.5 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9758/0.9758, allocations: 169.2 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 95.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4229, allocations: 86.98 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.6902/1.113, allocations: 214.6 MB / 0.9766 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0215/1.135, allocations: 21.34 MB / 0.9974 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/1.137, allocations: 53.95 kB / 0.9975 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002571/1.14, allocations: 0.746 MB / 0.9982 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/1.151, allocations: 4.249 MB / 1.002 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002913/1.154, allocations: 1.066 MB / 1.003 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0049/1.158, allocations: 3.912 MB / 1.007 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/1.161, allocations: 1.572 MB / 1.009 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/1.164, allocations: 1.62 MB / 1.01 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/1.168, allocations: 1.552 MB / 1.012 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005239/1.169, allocations: 159.3 kB / 1.012 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004207/1.173, allocations: 1.825 MB / 1.014 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/1.175, allocations: 0.741 MB / 1.015 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002829/1.177, allocations: 0.9548 MB / 1.015 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005756/1.183, allocations: 2.925 MB / 1.018 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.183, allocations: 3.188 kB / 1.018 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/1.183, allocations: 3.938 kB / 1.018 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.465e-05/1.183, allocations: 0.5312 kB / 1.018 GB, free: 0.5586 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.004135/1.187, allocations: 2.042 MB / 1.02 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.188, allocations: 10.5 kB / 1.02 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002358/1.19, allocations: 404.1 kB / 1.021 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/1.192, allocations: 1.155 MB / 1.022 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.689e-05/1.192, allocations: 102.6 kB / 1.022 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/1.193, allocations: 139.7 kB / 1.022 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/1.195, allocations: 1.585 MB / 1.024 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/1.195, allocations: 4 kB / 1.024 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/1.195, allocations: 58.36 kB / 1.024 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/1.195, allocations: 49.03 kB / 1.024 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/1.197, allocations: 1.298 MB / 1.025 GB, free: 14.82 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.008112/1.206, allocations: 6.478 MB / 1.031 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/1.207, allocations: 0.95 MB / 1.032 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/1.207, allocations: 476.4 kB / 1.033 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006812/1.208, allocations: 416.5 kB / 1.033 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.208, allocations: 45.81 kB / 1.033 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/1.208, allocations: 4.25 kB / 1.033 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=84): time 0.005591/1.214, allocations: 2.938 MB / 1.036 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/1.214, allocations: 64.66 kB / 1.036 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/1.215, allocations: 1.202 MB / 1.037 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.216, allocations: 41.11 kB / 1.037 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/1.216, allocations: 0.68 MB / 1.038 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/1.216, allocations: 300.8 kB / 1.038 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/1.217, allocations: 198.4 kB / 1.038 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001308/1.217, allocations: 344.8 kB / 1.039 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/1.217, allocations: 375.8 kB / 1.039 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/1.218, allocations: 0.7229 MB / 1.04 GB, free: 8.621 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.01154/1.23, allocations: 2.918 MB / 1.043 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/1.23, allocations: 6.562 kB / 1.043 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002111/1.232, allocations: 1.299 MB / 1.044 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.232, allocations: 10.5 kB / 1.044 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/1.232, allocations: 14.16 kB / 1.044 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002766/1.232, allocations: 131.4 kB / 1.044 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/1.233, allocations: 209.1 kB / 1.044 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/1.237, allocations: 5.373 MB / 1.05 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.239, allocations: 49.72 kB / 1.05 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.239, allocations: 43.81 kB / 1.05 GB, free: 1.91 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.0008365/1.24, allocations: 427.8 kB / 1.05 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.24, allocations: 149.7 kB / 1.05 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/1.242, allocations: 1.094 MB / 1.051 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.242, allocations: 8.406 kB / 1.051 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/1.242, allocations: 0 / 1.051 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001334/1.243, allocations: 1.057 MB / 1.052 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005318/1.249, allocations: 3.09 MB / 1.055 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.249, allocations: 4 kB / 1.055 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/1.249, allocations: 157.3 kB / 1.055 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002518/1.25, allocations: 131.2 kB / 1.056 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.88e-05/1.25, allocations: 27.94 kB / 1.056 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003999/1.254, allocations: 5.373 MB / 1.061 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.254, allocations: 7.188 kB / 1.061 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/1.256, allocations: 1.736 MB / 1.063 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/1.257, allocations: 319.3 kB / 1.063 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/1.257, allocations: 20 kB / 1.063 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008086/1.258, allocations: 29.86 kB / 1.063 GB, free: 5.395 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/1.258, allocations: 75.61 kB / 1.063 GB, free: 5.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/1.258, allocations: 35.98 kB / 1.063 GB, free: 5.285 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001169/1.259, allocations: 0.85 MB / 1.064 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.259, allocations: 0 / 1.064 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001541/1.261, allocations: 404 kB / 1.064 GB, free: 4.039 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.0005601/1.261, allocations: 245.6 kB / 1.064 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001927/1.263, allocations: 1.297 MB / 1.066 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.263, allocations: 4 kB / 1.066 GB, free: 2.523 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008999/1.264, allocations: 0.7866 MB / 1.066 GB, free: 1.723 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/1.268, allocations: 0.8921 MB / 1.067 GB, free: 0.8477 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/1.273, allocations: 2.948 MB / 1.07 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.274, allocations: 1.351 MB / 1.072 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.274, allocations: 119.4 kB / 1.072 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of SimCode: time 7.82e-07/1.274, allocations: 0 / 1.072 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of Templates: time 0.04981/1.324, allocations: 43.01 MB / 1.114 GB, free: 1.547 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)