Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") translateModel(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 114.3 kB / 16.42 MB, free: 6.492 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.001508/0.001508, allocations: 185.7 kB / 17.35 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.328/1.328, 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.002112/0.002112, allocations: 279.2 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.9827/0.9827, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0017/0.0017, allocations: 99.84 kB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4339, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.2055/0.6394, allocations: 195.1 MB / 0.9576 GB, free: 60 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.393/1.032, allocations: 14.3 MB / 0.9716 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/1.034, allocations: 38.61 kB / 0.9716 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/1.035, allocations: 0.5002 MB / 0.9721 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003925/1.039, allocations: 1.888 MB / 0.9739 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/1.041, allocations: 0.8701 MB / 0.9748 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00285/1.044, allocations: 2.578 MB / 0.9773 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/1.045, allocations: 1.114 MB / 0.9784 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003513/1.049, allocations: 1.61 MB / 0.9799 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/1.05, allocations: 0.9265 MB / 0.9809 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/1.05, allocations: 105.4 kB / 0.981 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/1.052, allocations: 1.096 MB / 0.982 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004065/1.053, allocations: 0.4984 MB / 0.9825 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006815/1.053, allocations: 0.635 MB / 0.9831 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/1.055, allocations: 1.918 MB / 0.985 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/1.055, allocations: 0 / 0.985 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.082e-06/1.055, allocations: 1.094 kB / 0.985 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.31e-05/1.055, allocations: 0 / 0.985 GB, free: 1.398 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001941/1.057, allocations: 1.454 MB / 0.9864 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/1.057, allocations: 6.75 kB / 0.9864 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/1.059, allocations: 255.5 kB / 0.9867 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/1.06, allocations: 0.7876 MB / 0.9874 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.891e-05/1.06, allocations: 67.09 kB / 0.9875 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.06, allocations: 103.9 kB / 0.9876 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/1.061, allocations: 1.176 MB / 0.9888 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.061, allocations: 3.188 kB / 0.9888 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.957e-05/1.061, allocations: 39.25 kB / 0.9888 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/1.061, allocations: 32.94 kB / 0.9888 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.063, allocations: 0.9035 MB / 0.9897 GB, free: 16.01 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.00464/1.067, allocations: 5.74 MB / 0.9953 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/1.068, allocations: 0.5323 MB / 0.9958 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/1.068, allocations: 322.7 kB / 0.9961 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/1.069, allocations: 317.8 kB / 0.9964 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/1.069, allocations: 37.41 kB / 0.9965 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.705e-06/1.069, allocations: 4.875 kB / 0.9965 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001354/1.07, allocations: 0.8035 MB / 0.9973 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/1.07, allocations: 62.33 kB / 0.9973 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007813/1.071, allocations: 0.7461 MB / 0.9981 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/1.071, allocations: 38.67 kB / 0.9981 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/1.072, allocations: 0.5064 MB / 0.9986 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/1.072, allocations: 173.6 kB / 0.9988 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/1.072, allocations: 146.8 kB / 0.9989 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.072, allocations: 334.7 kB / 0.9992 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/1.072, allocations: 248.3 kB / 0.9995 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/1.073, allocations: 0.5502 MB / 1 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000867/1.074, allocations: 0.801 MB / 1.001 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.074, allocations: 7.156 kB / 1.001 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001145/1.075, allocations: 0.8443 MB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.075, allocations: 13.91 kB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.075, allocations: 7.719 kB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.075, allocations: 11.78 kB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/1.076, allocations: 156.6 kB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/1.076, allocations: 19.31 kB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000732/1.076, allocations: 84.98 kB / 1.002 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/1.076, allocations: 39.94 kB / 1.002 GB, free: 10.12 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004122/1.077, allocations: 333.2 kB / 1.002 GB, free: 10 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/1.077, allocations: 85.47 kB / 1.002 GB, free: 9.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/1.078, allocations: 0.6159 MB / 1.003 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006287/1.078, allocations: 0.5189 MB / 1.003 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.079, allocations: 4.125 kB / 1.003 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002724/1.079, allocations: 220.4 kB / 1.004 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.079, allocations: 14.2 kB / 1.004 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/1.079, allocations: 9.562 kB / 1.004 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/1.079, allocations: 36.12 kB / 1.004 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001042/1.08, allocations: 0.6763 MB / 1.004 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001104/1.082, allocations: 1.08 MB / 1.005 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002814/1.082, allocations: 265.7 kB / 1.006 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000541/1.082, allocations: 0.5126 MB / 1.006 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of Backend: time 3.4e-07/1.082, allocations: 2.172 kB / 1.006 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001654/1.084, allocations: 0.7399 MB / 1.007 GB, free: 9.09 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003423/1.088, allocations: 2.472 MB / 1.009 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of Templates: time 0.0267/1.114, allocations: 17.87 MB / 1.027 GB, free: 3.809 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)