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.0008299/0.0008299, allocations: 98.42 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 182.9 kB / 16.92 MB, free: 6.691 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 12.72 kB / 496 MB, free: 6.262 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1582, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4961/0.6543, allocations: 190.3 MB / 0.7459 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.6735, allocations: 14.22 MB / 0.7597 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.6748, allocations: 35.75 kB / 0.7598 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.6764, allocations: 417.7 kB / 0.7602 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004823/0.6812, allocations: 1.766 MB / 0.7619 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.6837, allocations: 0.7769 MB / 0.7627 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004076/0.6878, allocations: 3.617 MB / 0.7662 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.6893, allocations: 0.9117 MB / 0.7671 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.6941, allocations: 1.413 MB / 0.7685 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.6962, allocations: 0.9144 MB / 0.7694 GB, free: 264 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000249/0.6964, allocations: 48 kB / 0.7694 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00273/0.6992, allocations: 1.243 MB / 0.7706 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000658/0.6999, allocations: 442.7 kB / 0.771 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.7011, allocations: 0.577 MB / 0.7716 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002836/0.7039, allocations: 1.896 MB / 0.7735 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7039, allocations: 4 kB / 0.7735 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.425e-06/0.7039, allocations: 4 kB / 0.7735 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.187e-05/0.704, allocations: 0 / 0.7735 GB, free: 12.04 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.002289/0.7063, allocations: 1.228 MB / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7064, allocations: 8.031 kB / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/0.7066, allocations: 147.6 kB / 0.7748 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.7081, allocations: 258.3 kB / 0.7751 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.7094, allocations: 0.7531 MB / 0.7758 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.7095, allocations: 70 kB / 0.7759 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.7097, allocations: 88 kB / 0.7759 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.7115, allocations: 1.177 MB / 0.7771 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.7115, allocations: 3.938 kB / 0.7771 GB, free: 8.137 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.7116, allocations: 47.94 kB / 0.7771 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.7117, allocations: 30 kB / 0.7772 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.7131, allocations: 0.9054 MB / 0.7781 GB, free: 7.156 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.005868/0.719, allocations: 5.727 MB / 0.7836 GB, free: 0.9727 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.7199, allocations: 0.5447 MB / 0.7842 GB, free: 432 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.7203, allocations: 318.6 kB / 0.7845 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006476/0.721, allocations: 331.7 kB / 0.7848 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.721, allocations: 38.94 kB / 0.7848 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.7211, allocations: 0 / 0.7848 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.001614/0.7227, allocations: 0.8026 MB / 0.7856 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.7227, allocations: 63.78 kB / 0.7857 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009897/0.7237, allocations: 0.7432 MB / 0.7864 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.416e-05/0.7238, allocations: 33.7 kB / 0.7864 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003846/0.7242, allocations: 0.5104 MB / 0.7869 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001639/0.7244, allocations: 185.3 kB / 0.7871 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.329e-05/0.7245, allocations: 57.69 kB / 0.7872 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.7246, allocations: 337.9 kB / 0.7875 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.725, allocations: 249.9 kB / 0.7877 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006433/0.7256, allocations: 0.5585 MB / 0.7883 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.7267, allocations: 0.7995 MB / 0.7891 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.7267, allocations: 0 / 0.7891 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001391/0.7281, allocations: 0.8428 MB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.7281, allocations: 9.875 kB / 0.7899 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.7281, allocations: 8 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.7282, allocations: 12 kB / 0.7899 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.7287, allocations: 159.7 kB / 0.7901 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.7288, allocations: 15.94 kB / 0.7901 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009661/0.7297, allocations: 147.2 kB / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.7298, allocations: 35.94 kB / 0.7903 GB, free: 9.836 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.0004366/0.7303, allocations: 333.5 kB / 0.7906 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.7304, allocations: 87 kB / 0.7907 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.7314, allocations: 0.618 MB / 0.7913 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.7314, allocations: 8 kB / 0.7913 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7315, allocations: 0 / 0.7913 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007204/0.7322, allocations: 0.5211 MB / 0.7918 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.7348, allocations: 1.663 MB / 0.7934 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7348, allocations: 7.938 kB / 0.7934 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005181/0.7354, allocations: 107.9 kB / 0.7935 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7354, allocations: 11.94 kB / 0.7935 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.7354, allocations: 16 kB / 0.7935 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.7354, allocations: 7.984 kB / 0.7935 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.7354, allocations: 4.219 kB / 0.7935 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.7368, allocations: 1.023 MB / 0.7945 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.7371, allocations: 223.9 kB / 0.7948 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.7373, allocations: 15.98 kB / 0.7948 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.738, allocations: 59.83 kB / 0.7948 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.738, allocations: 31.95 kB / 0.7949 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.7381, allocations: 23.98 kB / 0.7949 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006335/0.7387, allocations: 0.5146 MB / 0.7954 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7387, allocations: 0 / 0.7954 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008985/0.7396, allocations: 299.3 kB / 0.7957 GB, free: 4.113 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.001931/0.7416, allocations: 1.661 MB / 0.7973 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009827/0.7426, allocations: 0.6068 MB / 0.7979 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.7426, allocations: 0 / 0.7979 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.743, allocations: 269.2 kB / 0.7981 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.7454, allocations: 435.3 kB / 0.7986 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.7562, allocations: 7.941 MB / 0.8063 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.7571, allocations: 1.122 MB / 0.8074 GB, free: 7.629 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009921/0.7581, allocations: 267.1 kB / 0.8077 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004856/0.7586, allocations: 359.3 kB / 0.808 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/0.7586, allocations: 4 kB / 0.808 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.8013, allocations: 22.07 MB / 0.8296 GB, free: 1.293 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.8015, allocations: 240.2 kB / 0.8298 GB, free: 1.031 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.074, allocations: 0 / 0.8298 GB, free: 1.031 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)