Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_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.00154/0.00154, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.002235/0.002235, allocations: 192.8 kB / 16.25 MB, free: 6.629 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.296/1.296, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 68.05 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2506, allocations: 80.92 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5252/0.7759, allocations: 192.6 MB / 0.772 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0203/0.7962, allocations: 14.21 MB / 0.7859 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.7979, allocations: 43.75 kB / 0.7859 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.7997, allocations: 425.8 kB / 0.7864 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.8063, allocations: 1.771 MB / 0.7881 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.8092, allocations: 0.7874 MB / 0.7889 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005627/0.8149, allocations: 2.567 MB / 0.7914 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.817, allocations: 1.08 MB / 0.7924 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/0.8232, allocations: 1.59 MB / 0.794 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.8254, allocations: 0.9762 MB / 0.7949 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004061/0.8258, allocations: 112 kB / 0.795 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003216/0.829, allocations: 1.146 MB / 0.7961 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008476/0.8299, allocations: 0.5026 MB / 0.7966 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001547/0.8314, allocations: 0.63 MB / 0.7973 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.8356, allocations: 1.971 MB / 0.7992 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8356, allocations: 4 kB / 0.7992 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8356, allocations: 0 / 0.7992 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.527e-05/0.8357, allocations: 0 / 0.7992 GB, free: 0.8477 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.004683/0.8404, allocations: 1.452 MB / 0.8006 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.8405, allocations: 12.03 kB / 0.8006 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004675/0.841, allocations: 147.5 kB / 0.8008 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.8433, allocations: 258.3 kB / 0.801 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.8456, allocations: 0.7531 MB / 0.8017 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.8457, allocations: 70 kB / 0.8018 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.846, allocations: 96 kB / 0.8019 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/0.8491, allocations: 1.169 MB / 0.803 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.422e-05/0.8492, allocations: 7.938 kB / 0.803 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.8493, allocations: 36 kB / 0.8031 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.72e-05/0.8494, allocations: 37.98 kB / 0.8031 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.8522, allocations: 0.8976 MB / 0.804 GB, free: 11.75 MB / 0.6231 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.01045/0.8626, allocations: 5.727 MB / 0.8096 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.8638, allocations: 0.5368 MB / 0.8101 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.8645, allocations: 318.5 kB / 0.8104 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009316/0.8655, allocations: 311.7 kB / 0.8107 GB, free: 4.352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.8655, allocations: 39 kB / 0.8107 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 3.276e-06/0.8655, allocations: 4 kB / 0.8107 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.002173/0.8677, allocations: 0.7987 MB / 0.8115 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.8678, allocations: 55.84 kB / 0.8116 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.8694, allocations: 0.7587 MB / 0.8123 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/0.8695, allocations: 37.7 kB / 0.8124 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/0.8701, allocations: 0.5065 MB / 0.8129 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.8704, allocations: 181.5 kB / 0.813 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.8707, allocations: 142.6 kB / 0.8132 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.8709, allocations: 334 kB / 0.8135 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.8715, allocations: 245.9 kB / 0.8137 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008381/0.8723, allocations: 0.5527 MB / 0.8143 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.8739, allocations: 0.8034 MB / 0.815 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.874, allocations: 4 kB / 0.815 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002431/0.8764, allocations: 0.8421 MB / 0.8159 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.8765, allocations: 10.19 kB / 0.8159 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.8765, allocations: 8 kB / 0.8159 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.364e-05/0.8765, allocations: 16.84 kB / 0.8159 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.8774, allocations: 159.8 kB / 0.816 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.716e-05/0.8774, allocations: 23.86 kB / 0.8161 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.8788, allocations: 127 kB / 0.8162 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.8789, allocations: 39.52 kB / 0.8162 GB, free: 14.38 MB / 0.6387 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.0007802/0.8797, allocations: 337.4 kB / 0.8166 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.8801, allocations: 86.97 kB / 0.8166 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/0.8816, allocations: 0.6102 MB / 0.8172 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.8816, allocations: 4 kB / 0.8172 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8816, allocations: 3.938 kB / 0.8172 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009886/0.8826, allocations: 0.5211 MB / 0.8177 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/0.8867, allocations: 1.662 MB / 0.8194 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.8867, allocations: 0 / 0.8194 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.8875, allocations: 115.8 kB / 0.8195 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.8876, allocations: 4 kB / 0.8195 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.8876, allocations: 12.22 kB / 0.8195 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.8876, allocations: 11.98 kB / 0.8195 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8876, allocations: 0 / 0.8195 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.8899, allocations: 1.058 MB / 0.8205 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005581/0.8905, allocations: 227.9 kB / 0.8208 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.8907, allocations: 8.562 kB / 0.8208 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008605/0.8916, allocations: 63.86 kB / 0.8208 GB, free: 9.512 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.8917, allocations: 35.95 kB / 0.8209 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/0.8917, allocations: 24.86 kB / 0.8209 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009165/0.8927, allocations: 0.5146 MB / 0.8214 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8927, allocations: 0 / 0.8214 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001452/0.8941, allocations: 295.3 kB / 0.8217 GB, free: 8.652 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.003039/0.8972, allocations: 1.712 MB / 0.8233 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.8991, allocations: 0.7097 MB / 0.824 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.8991, allocations: 0 / 0.824 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.8997, allocations: 279.6 kB / 0.8243 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.9023, allocations: 445.9 kB / 0.8247 GB, free: 5.52 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.9145, allocations: 7.813 MB / 0.8324 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008331/0.9153, allocations: 1.122 MB / 0.8335 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009537/0.9163, allocations: 271.1 kB / 0.8337 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.9168, allocations: 355.3 kB / 0.834 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of SimCode: time 9.62e-07/0.9169, allocations: 3.938 kB / 0.8341 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/1.339, allocations: 22.75 MB / 0.8563 GB, free: 5.129 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/1.34, allocations: 233.4 kB / 0.8565 GB, free: 4.871 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.114/4.454, allocations: 4 kB / 0.8565 GB, free: 4.867 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)