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.006873/0.006873, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001572/0.001573, allocations: 191 kB / 16.67 MB, free: 5.969 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7766/0.7766, allocations: 135.1 MB / 425.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.67 kB / 0.5851 GB, free: 21.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 80.92 MB / 0.6642 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6131/0.7838, allocations: 195.1 MB / 0.8547 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.8014, allocations: 14.31 MB / 0.8687 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.803, allocations: 39.75 kB / 0.8687 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.8047, allocations: 0.5085 MB / 0.8692 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004966/0.8097, allocations: 1.96 MB / 0.8711 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.8122, allocations: 0.8672 MB / 0.872 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003356/0.8155, allocations: 2.581 MB / 0.8745 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.8171, allocations: 1.12 MB / 0.8756 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.8214, allocations: 1.65 MB / 0.8772 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.8234, allocations: 0.9172 MB / 0.8781 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002381/0.8237, allocations: 108 kB / 0.8782 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.8263, allocations: 1.111 MB / 0.8793 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005905/0.8269, allocations: 0.4987 MB / 0.8798 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009285/0.8278, allocations: 0.63 MB / 0.8804 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.831, allocations: 1.92 MB / 0.8822 GB, free: 28 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.831, allocations: 4 kB / 0.8822 GB, free: 24 kB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8311, allocations: 0 / 0.8822 GB, free: 24 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.001e-05/0.8311, allocations: 0 / 0.8822 GB, free: 24 kB / 0.6387 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.002208/0.8333, allocations: 1.449 MB / 0.8837 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.8334, allocations: 13.11 kB / 0.8837 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.8335, allocations: 147.6 kB / 0.8838 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.8348, allocations: 250.4 kB / 0.8841 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/0.8361, allocations: 0.7921 MB / 0.8848 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.8362, allocations: 74 kB / 0.8849 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.8363, allocations: 92 kB / 0.885 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.8379, allocations: 1.173 MB / 0.8861 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.8379, allocations: 3.938 kB / 0.8861 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.838, allocations: 40 kB / 0.8862 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-05/0.8381, allocations: 30 kB / 0.8862 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/0.8394, allocations: 0.9015 MB / 0.8871 GB, free: 10.89 MB / 0.6544 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.005467/0.8448, allocations: 5.743 MB / 0.8927 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007459/0.8456, allocations: 0.5289 MB / 0.8932 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.846, allocations: 322.6 kB / 0.8935 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005678/0.8466, allocations: 311.7 kB / 0.8938 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.8467, allocations: 35 kB / 0.8938 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.8467, allocations: 4 kB / 0.8938 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001495/0.8482, allocations: 0.7948 MB / 0.8946 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.8482, allocations: 67.72 kB / 0.8947 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/0.8491, allocations: 0.7509 MB / 0.8954 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.8491, allocations: 37.7 kB / 0.8955 GB, free: 1.754 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.8495, allocations: 0.5104 MB / 0.896 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.8497, allocations: 177.5 kB / 0.8961 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.8499, allocations: 150.5 kB / 0.8963 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.85, allocations: 334 kB / 0.8966 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.8504, allocations: 241.9 kB / 0.8968 GB, free: 348 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.8509, allocations: 0.5605 MB / 0.8974 GB, free: 15.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.852, allocations: 0.8034 MB / 0.8981 GB, free: 14.73 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.852, allocations: 0 / 0.8981 GB, free: 14.73 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001272/0.8533, allocations: 0.8461 MB / 0.899 GB, free: 13.88 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8533, allocations: 8 kB / 0.899 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.8534, allocations: 8 kB / 0.899 GB, free: 13.86 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.8534, allocations: 12 kB / 0.899 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/0.8539, allocations: 156.5 kB / 0.8992 GB, free: 13.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.2e-05/0.854, allocations: 27.86 kB / 0.8992 GB, free: 13.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000691/0.8547, allocations: 86.16 kB / 0.8993 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.8547, allocations: 32 kB / 0.8993 GB, free: 13.56 MB / 0.67 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.0004433/0.8552, allocations: 333.5 kB / 0.8996 GB, free: 13.22 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.8553, allocations: 82.97 kB / 0.8997 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009882/0.8563, allocations: 0.618 MB / 0.9003 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.8564, allocations: 4.047 kB / 0.9003 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.8564, allocations: 7.922 kB / 0.9003 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007119/0.8571, allocations: 0.5211 MB / 0.9008 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/0.8598, allocations: 1.667 MB / 0.9024 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8598, allocations: 0 / 0.9024 GB, free: 10.22 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005401/0.8603, allocations: 115.8 kB / 0.9025 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.8604, allocations: 4 kB / 0.9026 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.8604, allocations: 16 kB / 0.9026 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.8604, allocations: 4 kB / 0.9026 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.8604, allocations: 3.984 kB / 0.9026 GB, free: 10.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.8619, allocations: 1.054 MB / 0.9036 GB, free: 8.988 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003722/0.8622, allocations: 227.9 kB / 0.9038 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.8624, allocations: 15.98 kB / 0.9038 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.8629, allocations: 12 kB / 0.9038 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.8629, allocations: 39.83 kB / 0.9039 GB, free: 8.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.863, allocations: 16 kB / 0.9039 GB, free: 8.664 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006649/0.8637, allocations: 0.5146 MB / 0.9044 GB, free: 8.152 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8637, allocations: 0 / 0.9044 GB, free: 8.152 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001/0.8647, allocations: 299.4 kB / 0.9047 GB, free: 7.859 MB / 0.67 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.002063/0.8667, allocations: 1.695 MB / 0.9063 GB, free: 6.125 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001004/0.8678, allocations: 0.6158 MB / 0.9069 GB, free: 5.512 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.8678, allocations: 0 / 0.9069 GB, free: 5.512 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.8681, allocations: 271.7 kB / 0.9072 GB, free: 5.246 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/0.87, allocations: 449.4 kB / 0.9076 GB, free: 4.824 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009863/0.8799, allocations: 7.179 MB / 0.9146 GB, free: 13.26 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.8807, allocations: 1.125 MB / 0.9157 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0007982/0.8815, allocations: 263 kB / 0.916 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/0.882, allocations: 367.3 kB / 0.9163 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/0.882, allocations: 0 / 0.9163 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/0.9295, allocations: 23.11 MB / 0.9389 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.918/9.847, allocations: 8.047 kB / 0.9389 GB, free: 4.664 MB / 0.7012 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)