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.001063/0.001063, allocations: 110.4 kB / 16.42 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.001057/0.001057, allocations: 185.5 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.291/1.291, 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.002065/0.002065, allocations: 289.9 kB / 291.5 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.923/0.923, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 96.14 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3852, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TraceSubstances): time 0.1881/0.5733, allocations: 195.1 MB / 0.9576 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3871/0.9604, allocations: 14.3 MB / 0.9716 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.9616, allocations: 36.56 kB / 0.9716 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00126/0.9628, allocations: 0.5057 MB / 0.9721 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003906/0.9668, allocations: 1.969 MB / 0.974 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/0.9689, allocations: 0.8654 MB / 0.9749 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.9714, allocations: 2.583 MB / 0.9774 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.9726, allocations: 1.109 MB / 0.9785 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003452/0.976, allocations: 1.65 MB / 0.9801 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.9772, allocations: 0.9275 MB / 0.981 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.9774, allocations: 108 kB / 0.9811 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.9793, allocations: 1.104 MB / 0.9822 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.9797, allocations: 0.4976 MB / 0.9826 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005971/0.9803, allocations: 0.6381 MB / 0.9833 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.9822, allocations: 1.917 MB / 0.9851 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9822, allocations: 0.8438 kB / 0.9851 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.572e-06/0.9822, allocations: 2.344 kB / 0.9851 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.9822, allocations: 0.9688 kB / 0.9851 GB, free: 1.441 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.001871/0.9841, allocations: 1.445 MB / 0.9866 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.9842, allocations: 9.719 kB / 0.9866 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.9855, allocations: 255.8 kB / 0.9868 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.9867, allocations: 0.7984 MB / 0.9876 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.9867, allocations: 70.19 kB / 0.9877 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9869, allocations: 98.47 kB / 0.9877 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.9883, allocations: 1.169 MB / 0.9889 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.9883, allocations: 5.5 kB / 0.9889 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.137e-05/0.9884, allocations: 40.88 kB / 0.9889 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.44e-05/0.9884, allocations: 33.41 kB / 0.989 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.9896, allocations: 0.9048 MB / 0.9898 GB, free: 16.05 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.004695/0.9943, allocations: 5.741 MB / 0.9955 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000695/0.995, allocations: 0.5405 MB / 0.996 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.9954, allocations: 318.2 kB / 0.9963 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005666/0.996, allocations: 309.8 kB / 0.9966 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.996, allocations: 42.36 kB / 0.9966 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.044e-06/0.996, allocations: 0 / 0.9966 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001251/0.9973, allocations: 0.8026 MB / 0.9974 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.9973, allocations: 56.12 kB / 0.9975 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007203/0.998, allocations: 0.7495 MB / 0.9982 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.9981, allocations: 36.08 kB / 0.9982 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.9984, allocations: 0.5074 MB / 0.9987 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.9985, allocations: 180.5 kB / 0.9989 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.9987, allocations: 141.1 kB / 0.999 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.9988, allocations: 339.3 kB / 0.9994 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.9991, allocations: 245.9 kB / 0.9996 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.9997, allocations: 0.5524 MB / 1 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008482/1.001, allocations: 0.8034 MB / 1.001 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.001, allocations: 7.188 kB / 1.001 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001077/1.002, allocations: 0.8403 MB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/1.002, allocations: 10.91 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.002, allocations: 7.625 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/1.002, allocations: 11.03 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/1.002, allocations: 157.2 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/1.002, allocations: 20.92 kB / 1.002 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/1.003, allocations: 87.83 kB / 1.002 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/1.003, allocations: 36.53 kB / 1.002 GB, free: 10.17 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.0003492/1.003, allocations: 328.7 kB / 1.002 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/1.003, allocations: 89.94 kB / 1.002 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/1.004, allocations: 0.6179 MB / 1.003 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005978/1.005, allocations: 0.5167 MB / 1.004 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.005, allocations: 0.9062 kB / 1.004 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/1.005, allocations: 223.1 kB / 1.004 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/1.005, allocations: 11.31 kB / 1.004 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/1.006, allocations: 15.88 kB / 1.004 GB, free: 9.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.006, allocations: 38.95 kB / 1.004 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001058/1.007, allocations: 0.6827 MB / 1.005 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001125/1.008, allocations: 1.074 MB / 1.006 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002773/1.008, allocations: 262.2 kB / 1.006 GB, free: 9.336 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000541/1.009, allocations: 0.5163 MB / 1.006 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/1.009, allocations: 0 / 1.006 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001617/1.011, allocations: 0.733 MB / 1.007 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of SimCode: time 0.003387/1.014, allocations: 2.482 MB / 1.009 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of Templates: time 0.02665/1.041, allocations: 17.86 MB / 1.027 GB, free: 3.852 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)