Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") translateModel(BuildingSystems.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 119 kB / 16.42 MB, free: 6.473 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.0018/0.0018, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.394/1.394, 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.002085/0.002085, allocations: 291.5 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9183/0.9183, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002695/0.002695, allocations: 96.23 kB / 0.6821 GB, free: 7.008 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4049, allocations: 86.99 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.1799/0.5848, allocations: 185 MB / 0.9478 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.009797/0.5946, allocations: 6.976 MB / 0.9546 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009917/0.5956, allocations: 31.81 kB / 0.9546 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.5969, allocations: 401.5 kB / 0.955 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.6004, allocations: 1.447 MB / 0.9564 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.6034, allocations: 1.159 MB / 0.9575 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.413/1.016, allocations: 1.944 MB / 0.9594 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/1.018, allocations: 0.6578 MB / 0.9601 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/1.02, allocations: 0.8354 MB / 0.9609 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/1.021, allocations: 0.6051 MB / 0.9615 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/1.021, allocations: 67.62 kB / 0.9615 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/1.025, allocations: 1.923 MB / 0.9634 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/1.025, allocations: 291 kB / 0.9637 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004975/1.025, allocations: 428.9 kB / 0.9641 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002788/1.028, allocations: 1.777 MB / 0.9658 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.028, allocations: 5.875 kB / 0.9659 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/1.028, allocations: 0 / 0.9659 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.037e-05/1.028, allocations: 0 / 0.9659 GB, free: 3.355 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001821/1.03, allocations: 1.157 MB / 0.967 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.03, allocations: 10.62 kB / 0.967 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/1.032, allocations: 276.2 kB / 0.9673 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008613/1.033, allocations: 0.6083 MB / 0.9679 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/1.033, allocations: 38.56 kB / 0.9679 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-05/1.033, allocations: 57.22 kB / 0.9679 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/1.034, allocations: 0.6373 MB / 0.9686 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/1.034, allocations: 3.5 kB / 0.9686 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.178e-05/1.034, allocations: 21.17 kB / 0.9686 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/1.034, allocations: 28.34 kB / 0.9686 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007981/1.035, allocations: 0.5196 MB / 0.9691 GB, free: 18.29 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.002487/1.037, allocations: 2.453 MB / 0.9715 GB, free: 16.97 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005477/1.038, allocations: 366.8 kB / 0.9719 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/1.038, allocations: 232.2 kB / 0.9721 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/1.039, allocations: 309.3 kB / 0.9724 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/1.039, allocations: 41.02 kB / 0.9724 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/1.039, allocations: 2.719 kB / 0.9724 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001187/1.04, allocations: 0.6162 MB / 0.973 GB, free: 16.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/1.04, allocations: 56.88 kB / 0.9731 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/1.041, allocations: 0.4909 MB / 0.9736 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/1.041, allocations: 34.78 kB / 0.9736 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/1.041, allocations: 335.4 kB / 0.9739 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/1.041, allocations: 132.9 kB / 0.974 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/1.041, allocations: 88.61 kB / 0.9741 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.041, allocations: 369.7 kB / 0.9745 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/1.041, allocations: 178.1 kB / 0.9746 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/1.042, allocations: 279.9 kB / 0.9749 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/1.042, allocations: 449.8 kB / 0.9753 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.042, allocations: 0.875 kB / 0.9753 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007736/1.043, allocations: 0.5255 MB / 0.9759 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.043, allocations: 6.562 kB / 0.9759 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.043, allocations: 6.5 kB / 0.9759 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.043, allocations: 5.781 kB / 0.9759 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/1.044, allocations: 129 kB / 0.976 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003573/1.044, allocations: 0.5983 MB / 0.9766 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/1.045, allocations: 53.58 kB / 0.9766 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/1.045, allocations: 17.28 kB / 0.9767 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004437/1.045, allocations: 357 kB / 0.977 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003285/1.046, allocations: 277 kB / 0.9773 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005652/1.046, allocations: 455 kB / 0.9777 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.533e-06/1.046, allocations: 0 / 0.9777 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0007364/1.047, allocations: 0.5173 MB / 0.9782 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/1.047, allocations: 5.031 kB / 0.9782 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/1.047, allocations: 4 kB / 0.9782 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/1.047, allocations: 7.344 kB / 0.9782 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/1.047, allocations: 121.4 kB / 0.9783 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/1.047, allocations: 7.094 kB / 0.9783 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/1.048, allocations: 45.23 kB / 0.9784 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/1.048, allocations: 23.33 kB / 0.9784 GB, free: 14.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001504/1.048, allocations: 206.6 kB / 0.9786 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.055e-05/1.048, allocations: 68.7 kB / 0.9787 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007729/1.049, allocations: 491 kB / 0.9791 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007087/1.05, allocations: 0.6969 MB / 0.9798 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.05, allocations: 1.031 kB / 0.9798 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/1.05, allocations: 178.9 kB / 0.98 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/1.05, allocations: 14 kB / 0.98 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003903/1.05, allocations: 17.7 kB / 0.98 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/1.051, allocations: 19.86 kB / 0.98 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001139/1.052, allocations: 0.5864 MB / 0.9806 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009875/1.053, allocations: 0.846 MB / 0.9814 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002662/1.053, allocations: 195.4 kB / 0.9816 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003206/1.053, allocations: 351 kB / 0.982 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/1.053, allocations: 4.375 kB / 0.982 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002487/1.056, allocations: 0.9755 MB / 0.9829 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of SimCode: time 0.002601/1.058, allocations: 1.926 MB / 0.9848 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.02297/1.081, allocations: 17.79 MB / 1.002 GB, free: 10.73 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)