Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_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.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001064/0.001064, allocations: 193.7 kB / 16.14 MB, free: 6.715 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: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7419/0.7419, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.08 kB / 0.5012 GB, free: 9.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1458, allocations: 80.21 MB / 0.5795 GB, free: 9.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.433/0.5788, allocations: 192.8 MB / 0.7678 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01584/0.5947, allocations: 14.39 MB / 0.7819 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.596, allocations: 35.75 kB / 0.7819 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.5973, allocations: 421.7 kB / 0.7823 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004114/0.6015, allocations: 1.779 MB / 0.7841 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001985/0.6035, allocations: 0.7593 MB / 0.7848 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003944/0.6074, allocations: 3.627 MB / 0.7883 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.6086, allocations: 0.9441 MB / 0.7893 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004095/0.6127, allocations: 1.451 MB / 0.7907 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.6141, allocations: 0.956 MB / 0.7916 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.6143, allocations: 60 kB / 0.7917 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002401/0.6167, allocations: 1.255 MB / 0.7929 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.6171, allocations: 466.7 kB / 0.7933 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.6178, allocations: 0.5908 MB / 0.7939 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.6198, allocations: 1.92 MB / 0.7958 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6198, allocations: 4 kB / 0.7958 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.01e-07/0.6198, allocations: 0 / 0.7958 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.6198, allocations: 0 / 0.7958 GB, free: 5.746 MB / 0.6075 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.002036/0.6219, allocations: 1.451 MB / 0.7972 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6219, allocations: 12.03 kB / 0.7972 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.6221, allocations: 139.6 kB / 0.7974 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.6234, allocations: 262.3 kB / 0.7976 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6245, allocations: 0.7492 MB / 0.7983 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.6246, allocations: 74 kB / 0.7984 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.6247, allocations: 91.94 kB / 0.7985 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.6263, allocations: 1.173 MB / 0.7997 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.6263, allocations: 7.938 kB / 0.7997 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.6264, allocations: 36 kB / 0.7997 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.6265, allocations: 37.98 kB / 0.7997 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.6278, allocations: 0.8976 MB / 0.8006 GB, free: 0.6484 MB / 0.6075 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.004897/0.6327, allocations: 5.727 MB / 0.8062 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.6335, allocations: 0.5291 MB / 0.8067 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004007/0.6339, allocations: 322.6 kB / 0.807 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.6345, allocations: 311.7 kB / 0.8073 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.6345, allocations: 39 kB / 0.8074 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.6345, allocations: 4 kB / 0.8074 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001405/0.6359, allocations: 0.7987 MB / 0.8081 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.636, allocations: 55.84 kB / 0.8082 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/0.6368, allocations: 0.7587 MB / 0.8089 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.6368, allocations: 33.7 kB / 0.809 GB, free: 7.523 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.6372, allocations: 0.5065 MB / 0.8095 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.6373, allocations: 177.5 kB / 0.8096 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.6375, allocations: 142.6 kB / 0.8098 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6376, allocations: 334 kB / 0.8101 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.638, allocations: 245.9 kB / 0.8103 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.6385, allocations: 0.5527 MB / 0.8109 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009115/0.6395, allocations: 0.8034 MB / 0.8116 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6395, allocations: 8 kB / 0.8117 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001169/0.6407, allocations: 0.8422 MB / 0.8125 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.6407, allocations: 8 kB / 0.8125 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.6407, allocations: 8 kB / 0.8125 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6407, allocations: 12 kB / 0.8125 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.6413, allocations: 156.5 kB / 0.8127 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.6413, allocations: 23.88 kB / 0.8127 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/0.6422, allocations: 131 kB / 0.8128 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.6423, allocations: 39.92 kB / 0.8128 GB, free: 3.289 MB / 0.6231 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.0003848/0.6426, allocations: 331 kB / 0.8132 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.6428, allocations: 87 kB / 0.8132 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/0.6437, allocations: 0.6219 MB / 0.8138 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.6437, allocations: 4 kB / 0.8138 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.6437, allocations: 7.875 kB / 0.8139 GB, free: 2.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006779/0.6444, allocations: 0.5134 MB / 0.8144 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.6467, allocations: 1.662 MB / 0.816 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6467, allocations: 0 / 0.816 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.6473, allocations: 115.8 kB / 0.8161 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.6473, allocations: 4 kB / 0.8161 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.6474, allocations: 27.92 kB / 0.8161 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6474, allocations: 8.219 kB / 0.8161 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6474, allocations: 0 / 0.8161 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001269/0.6486, allocations: 1.062 MB / 0.8172 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.649, allocations: 223.9 kB / 0.8174 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6491, allocations: 12 kB / 0.8174 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.6497, allocations: 62.66 kB / 0.8174 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.6497, allocations: 35.91 kB / 0.8175 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6498, allocations: 27.92 kB / 0.8175 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000576/0.6504, allocations: 0.5146 MB / 0.818 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6504, allocations: 0 / 0.818 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008077/0.6512, allocations: 291.3 kB / 0.8183 GB, free: 13.55 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.001822/0.653, allocations: 1.7 MB / 0.8199 GB, free: 11.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008789/0.6539, allocations: 0.6068 MB / 0.8205 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.6539, allocations: 1.812 kB / 0.8205 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.6543, allocations: 279.5 kB / 0.8208 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.6562, allocations: 429.9 kB / 0.8212 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009473/0.6657, allocations: 7.827 MB / 0.8289 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.6664, allocations: 1.122 MB / 0.83 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000886/0.6673, allocations: 273.6 kB / 0.8302 GB, free: 0.8594 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/0.6678, allocations: 359.3 kB / 0.8306 GB, free: 0.5078 MB / 0.6387 GB Notification: Performance of SimCode: time 1.773e-06/0.6678, allocations: 4 kB / 0.8306 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05118/0.719, allocations: 22.32 MB / 0.8524 GB, free: 10.57 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.7192, allocations: 230.5 kB / 0.8526 GB, free: 10.31 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.026, allocations: 0 / 0.8526 GB, free: 10.31 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)