Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006047/0.006047, allocations: 101.1 kB / 15.88 MB, free: 6.312 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.001341/0.001341, allocations: 196.2 kB / 16.79 MB, free: 6.242 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.314/1.314, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6688/0.6688, allocations: 115.3 MB / 405.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.08 kB / 493 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1403, allocations: 76.17 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4203/0.5606, allocations: 192.8 MB / 0.7442 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.5755, allocations: 14.41 MB / 0.7582 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008597/0.5764, allocations: 31.81 kB / 0.7583 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.5776, allocations: 425.7 kB / 0.7587 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.581, allocations: 1.77 MB / 0.7604 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.5828, allocations: 0.7672 MB / 0.7611 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002936/0.5858, allocations: 3.618 MB / 0.7647 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/0.5868, allocations: 0.9402 MB / 0.7656 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00335/0.5901, allocations: 1.452 MB / 0.767 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.5913, allocations: 0.9615 MB / 0.7679 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.5914, allocations: 60 kB / 0.768 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001902/0.5933, allocations: 1.259 MB / 0.7692 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003886/0.5937, allocations: 462.7 kB / 0.7697 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006055/0.5944, allocations: 0.5831 MB / 0.7702 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.5962, allocations: 1.928 MB / 0.7721 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5962, allocations: 0 / 0.7721 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.5962, allocations: 7.984 kB / 0.7721 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.5963, allocations: 0 / 0.7721 GB, free: 9.219 MB / 0.5919 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.001879/0.5981, allocations: 1.446 MB / 0.7735 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.5982, allocations: 11.97 kB / 0.7736 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.5983, allocations: 143.6 kB / 0.7737 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.5996, allocations: 258.4 kB / 0.7739 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6006, allocations: 0.7453 MB / 0.7747 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.6007, allocations: 74 kB / 0.7747 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.6008, allocations: 95.98 kB / 0.7748 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.6024, allocations: 1.165 MB / 0.776 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.6024, allocations: 3.938 kB / 0.776 GB, free: 5.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.6025, allocations: 51.91 kB / 0.776 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.6025, allocations: 38 kB / 0.7761 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.6038, allocations: 0.9015 MB / 0.7769 GB, free: 4.121 MB / 0.5919 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.004723/0.6085, allocations: 5.731 MB / 0.7825 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/0.6093, allocations: 0.5369 MB / 0.7831 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003866/0.6097, allocations: 318.6 kB / 0.7834 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005559/0.6102, allocations: 315.7 kB / 0.7837 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6103, allocations: 39 kB / 0.7837 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 2.174e-06/0.6103, allocations: 0 / 0.7837 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.001307/0.6116, allocations: 0.7987 MB / 0.7845 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.6117, allocations: 55.84 kB / 0.7845 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.6124, allocations: 0.7586 MB / 0.7853 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.6125, allocations: 37.7 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.6128, allocations: 0.5026 MB / 0.7858 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.6129, allocations: 181.4 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.6131, allocations: 146.5 kB / 0.7861 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6133, allocations: 341.9 kB / 0.7864 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.6136, allocations: 245.9 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.6142, allocations: 0.5507 MB / 0.7872 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/0.6151, allocations: 0.8034 MB / 0.788 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6151, allocations: 7.938 kB / 0.788 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001124/0.6162, allocations: 0.8463 MB / 0.7888 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.6162, allocations: 8 kB / 0.7888 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6162, allocations: 8 kB / 0.7888 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6163, allocations: 12 kB / 0.7889 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.6168, allocations: 155.7 kB / 0.789 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.6168, allocations: 15.94 kB / 0.789 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/0.6176, allocations: 147.5 kB / 0.7892 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.163e-05/0.6176, allocations: 41.5 kB / 0.7892 GB, free: 6.727 MB / 0.6075 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.0003649/0.618, allocations: 337.5 kB / 0.7895 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.6181, allocations: 82.97 kB / 0.7896 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008856/0.619, allocations: 0.6102 MB / 0.7902 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.619, allocations: 4 kB / 0.7902 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.619, allocations: 4 kB / 0.7902 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006593/0.6197, allocations: 0.5211 MB / 0.7907 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.6218, allocations: 1.667 MB / 0.7923 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6218, allocations: 7.938 kB / 0.7924 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004978/0.6223, allocations: 107.9 kB / 0.7925 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.6224, allocations: 4.219 kB / 0.7925 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.6224, allocations: 20 kB / 0.7925 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.6224, allocations: 11.92 kB / 0.7925 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6224, allocations: 3.938 kB / 0.7925 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.6237, allocations: 1.011 MB / 0.7935 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.624, allocations: 223.9 kB / 0.7937 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.6241, allocations: 19.98 kB / 0.7937 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.6246, allocations: 67.8 kB / 0.7938 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.6247, allocations: 35.95 kB / 0.7938 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.6247, allocations: 23.98 kB / 0.7938 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005424/0.6253, allocations: 0.5068 MB / 0.7943 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6253, allocations: 0 / 0.7943 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007281/0.626, allocations: 295.4 kB / 0.7946 GB, free: 1.02 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.001694/0.6277, allocations: 1.672 MB / 0.7962 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008015/0.6285, allocations: 0.6003 MB / 0.7968 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6285, allocations: 3.938 kB / 0.7968 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.6289, allocations: 272.2 kB / 0.7971 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.6307, allocations: 438.1 kB / 0.7975 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008749/0.6395, allocations: 7.846 MB / 0.8052 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006178/0.6401, allocations: 1.13 MB / 0.8063 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007444/0.6409, allocations: 263.1 kB / 0.8065 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004163/0.6413, allocations: 359.3 kB / 0.8069 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.6413, allocations: 0 / 0.8069 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3728/1.014, allocations: 22.27 MB / 0.8286 GB, free: 233.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/1.014, allocations: 237.3 kB / 0.8288 GB, free: 233 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.426, allocations: 0 / 0.8288 GB, free: 233 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)