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.007306/0.007307, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001703/0.001703, allocations: 196.9 kB / 16.67 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9236/0.9236, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 63.91 kB / 0.5852 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4325, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2093/0.6418, allocations: 195.1 MB / 0.8547 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5508/1.193, allocations: 14.32 MB / 0.8687 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/1.194, allocations: 37.81 kB / 0.8687 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001501/1.195, allocations: 0.4897 MB / 0.8692 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004804/1.2, allocations: 1.89 MB / 0.871 GB, free: 1.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002467/1.203, allocations: 0.865 MB / 0.8719 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00427/1.207, allocations: 2.572 MB / 0.8744 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002074/1.209, allocations: 1.12 MB / 0.8755 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/1.214, allocations: 1.621 MB / 0.8771 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.216, allocations: 0.9206 MB / 0.878 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002343/1.217, allocations: 106 kB / 0.8781 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/1.22, allocations: 1.099 MB / 0.8791 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007282/1.22, allocations: 0.4917 MB / 0.8796 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/1.221, allocations: 0.6403 MB / 0.8802 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/1.224, allocations: 1.917 MB / 0.8821 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.224, allocations: 1.625 kB / 0.8821 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.533e-06/1.224, allocations: 0 / 0.8821 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.729e-05/1.224, allocations: 0.5625 kB / 0.8821 GB, free: 1.629 MB / 0.6856 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.002374/1.227, allocations: 1.449 MB / 0.8835 GB, free: 16.86 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/1.227, allocations: 10.42 kB / 0.8835 GB, free: 16.86 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001843/1.227, allocations: 151 kB / 0.8837 GB, free: 16.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/1.228, allocations: 249.8 kB / 0.8839 GB, free: 16.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.23, allocations: 0.7903 MB / 0.8847 GB, free: 16.44 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/1.23, allocations: 74.86 kB / 0.8848 GB, free: 16.44 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/1.23, allocations: 97.38 kB / 0.8849 GB, free: 16.44 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/1.232, allocations: 1.174 MB / 0.886 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/1.232, allocations: 5.938 kB / 0.886 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.402e-05/1.232, allocations: 37.94 kB / 0.886 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/1.232, allocations: 37.34 kB / 0.8861 GB, free: 16.21 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/1.234, allocations: 0.9016 MB / 0.887 GB, free: 16.2 MB / 0.7012 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.006509/1.24, allocations: 5.729 MB / 0.8926 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/1.241, allocations: 0.5341 MB / 0.8931 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/1.242, allocations: 315.1 kB / 0.8934 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/1.242, allocations: 308.7 kB / 0.8937 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.242, allocations: 44.62 kB / 0.8937 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/1.242, allocations: 1.031 kB / 0.8937 GB, free: 12.08 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001587/1.244, allocations: 0.8012 MB / 0.8945 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/1.244, allocations: 56.88 kB / 0.8946 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/1.245, allocations: 0.749 MB / 0.8953 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.245, allocations: 37.67 kB / 0.8953 GB, free: 11.76 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/1.245, allocations: 0.5142 MB / 0.8958 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/1.246, allocations: 175.5 kB / 0.896 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/1.246, allocations: 142.6 kB / 0.8961 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.246, allocations: 334.2 kB / 0.8964 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003554/1.246, allocations: 245.1 kB / 0.8967 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/1.247, allocations: 0.563 MB / 0.8972 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/1.248, allocations: 0.7998 MB / 0.898 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.248, allocations: 2.688 kB / 0.898 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00145/1.25, allocations: 0.8459 MB / 0.8988 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.25, allocations: 7.75 kB / 0.8988 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.25, allocations: 14.77 kB / 0.8989 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/1.25, allocations: 12.28 kB / 0.8989 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005849/1.25, allocations: 149.8 kB / 0.899 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.25, allocations: 18.66 kB / 0.899 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007975/1.251, allocations: 92.48 kB / 0.8991 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/1.251, allocations: 32.47 kB / 0.8991 GB, free: 10.31 MB / 0.7012 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.0004737/1.252, allocations: 328.4 kB / 0.8995 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/1.252, allocations: 89.16 kB / 0.8995 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000908/1.253, allocations: 0.6155 MB / 0.9001 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.253, allocations: 8.234 kB / 0.9002 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.253, allocations: 1.938 kB / 0.9002 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/1.253, allocations: 0.5178 MB / 0.9007 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002269/1.256, allocations: 1.666 MB / 0.9023 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/1.256, allocations: 3.844 kB / 0.9023 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/1.256, allocations: 116.3 kB / 0.9024 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/1.256, allocations: 8.281 kB / 0.9024 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-05/1.256, allocations: 14.97 kB / 0.9024 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.256, allocations: 2.812 kB / 0.9024 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.256, allocations: 3 kB / 0.9024 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.257, allocations: 1.052 MB / 0.9035 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/1.258, allocations: 220.5 kB / 0.9037 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/1.258, allocations: 14.94 kB / 0.9037 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/1.258, allocations: 24.06 kB / 0.9037 GB, free: 9.242 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/1.258, allocations: 38.59 kB / 0.9037 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/1.258, allocations: 16.84 kB / 0.9038 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005289/1.259, allocations: 0.5181 MB / 0.9043 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/1.259, allocations: 0 / 0.9043 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0009165/1.26, allocations: 294.5 kB / 0.9045 GB, free: 9.109 MB / 0.7012 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.001806/1.262, allocations: 1.71 MB / 0.9062 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009038/1.263, allocations: 0.6093 MB / 0.9068 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.263, allocations: 3.219 kB / 0.9068 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/1.263, allocations: 272.7 kB / 0.9071 GB, free: 8.305 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/1.265, allocations: 438.8 kB / 0.9075 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/1.274, allocations: 7.185 MB / 0.9145 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/1.275, allocations: 1.122 MB / 0.9156 GB, free: 4.938 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009641/1.276, allocations: 271.9 kB / 0.9159 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004823/1.277, allocations: 356.8 kB / 0.9162 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of SimCode: time 2.024e-06/1.277, allocations: 0 / 0.9162 GB, free: 4.883 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05357/1.33, allocations: 23.49 MB / 0.9391 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.155/10.48, allocations: 9.469 kB / 0.9392 GB, free: 14.3 MB / 0.7169 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)