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.00165/0.00165, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001795/0.001796, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.405/2.405, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.393/1.393, allocations: 132.3 MB / 423.2 MB, free: 2.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00055/0.0005504, allocations: 13.56 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9021/0.9027, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.3547/1.257, allocations: 161.8 MB / 0.741 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02785/1.285, allocations: 12.18 MB / 0.7528 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002721/1.288, allocations: 27.81 kB / 0.7529 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003503/1.292, allocations: 0.4899 MB / 0.7534 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009162/1.301, allocations: 1.546 MB / 0.7549 GB, free: 164 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006216/1.307, allocations: 0.9576 MB / 0.7558 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005494/1.313, allocations: 1.476 MB / 0.7572 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/1.315, allocations: 0.8164 MB / 0.758 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005304/1.32, allocations: 1.122 MB / 0.7591 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/1.323, allocations: 0.615 MB / 0.7597 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002607/1.323, allocations: 48 kB / 0.7598 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/1.326, allocations: 0.5421 MB / 0.7603 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007906/1.327, allocations: 411 kB / 0.7607 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007018/1.327, allocations: 257.1 kB / 0.7609 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002628/1.33, allocations: 1.301 MB / 0.7622 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.33, allocations: 0 / 0.7622 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.156e-06/1.33, allocations: 0 / 0.7622 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.125e-05/1.33, allocations: 0 / 0.7622 GB, free: 8.613 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.003426/1.334, allocations: 1.239 MB / 0.7634 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.384e-05/1.334, allocations: 8.031 kB / 0.7634 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003066/1.334, allocations: 143.6 kB / 0.7636 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002332/1.336, allocations: 254.4 kB / 0.7638 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/1.339, allocations: 0.7535 MB / 0.7645 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/1.339, allocations: 78 kB / 0.7646 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/1.339, allocations: 92 kB / 0.7647 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003032/1.342, allocations: 1.161 MB / 0.7658 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/1.343, allocations: 7.922 kB / 0.7659 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/1.343, allocations: 36 kB / 0.7659 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.457e-05/1.343, allocations: 37.98 kB / 0.7659 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/1.345, allocations: 0.9054 MB / 0.7668 GB, free: 3.73 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.01018/1.355, allocations: 5.735 MB / 0.7724 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/1.357, allocations: 0.5655 MB / 0.773 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005664/1.357, allocations: 149.5 kB / 0.7731 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/1.357, allocations: 46.94 kB / 0.7731 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 3.847e-06/1.357, allocations: 0 / 0.7731 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.002606/1.36, allocations: 0.8181 MB / 0.7739 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/1.36, allocations: 89.53 kB / 0.774 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/1.362, allocations: 0.7393 MB / 0.7748 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.362, allocations: 37.7 kB / 0.7748 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/1.362, allocations: 0.5222 MB / 0.7753 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/1.363, allocations: 181.4 kB / 0.7755 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/1.363, allocations: 12 kB / 0.7755 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.363, allocations: 334 kB / 0.7758 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/1.364, allocations: 253.8 kB / 0.776 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/1.365, allocations: 0.5667 MB / 0.7766 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/1.366, allocations: 372.4 kB / 0.777 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/1.366, allocations: 4 kB / 0.777 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002288/1.368, allocations: 0.8546 MB / 0.7778 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.368, allocations: 15.95 kB / 0.7778 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/1.368, allocations: 8 kB / 0.7778 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/1.368, allocations: 12 kB / 0.7778 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009435/1.369, allocations: 159.7 kB / 0.778 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-05/1.369, allocations: 15.94 kB / 0.778 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.371, allocations: 143 kB / 0.7781 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.371, allocations: 36 kB / 0.7782 GB, free: 7.398 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008191/1.372, allocations: 333.4 kB / 0.7785 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.372, allocations: 86.97 kB / 0.7786 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/1.374, allocations: 0.6296 MB / 0.7792 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/1.374, allocations: 8 kB / 0.7792 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.374, allocations: 0 / 0.7792 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/1.375, allocations: 0.5251 MB / 0.7797 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/1.379, allocations: 1.769 MB / 0.7814 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/1.379, allocations: 0 / 0.7814 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/1.38, allocations: 119.9 kB / 0.7815 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.968e-05/1.38, allocations: 4 kB / 0.7815 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-05/1.38, allocations: 12 kB / 0.7816 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/1.381, allocations: 7.938 kB / 0.7816 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/1.381, allocations: 4 kB / 0.7816 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/1.383, allocations: 1.175 MB / 0.7827 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008399/1.384, allocations: 232 kB / 0.7829 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/1.384, allocations: 12 kB / 0.7829 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009119/1.385, allocations: 69.41 kB / 0.783 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/1.385, allocations: 35.91 kB / 0.783 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/1.385, allocations: 19.94 kB / 0.7831 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001166/1.386, allocations: 0.5107 MB / 0.7836 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/1.387, allocations: 0 / 0.7836 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001801/1.388, allocations: 303.3 kB / 0.7839 GB, free: 1.348 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003698/1.392, allocations: 2.373 MB / 0.7862 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001679/1.394, allocations: 0.6117 MB / 0.7868 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.394, allocations: 0.5625 kB / 0.7868 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006023/1.394, allocations: 288.7 kB / 0.787 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.398, allocations: 430.7 kB / 0.7875 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.415, allocations: 10.76 MB / 0.798 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/1.416, allocations: 1.146 MB / 0.7991 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001834/1.418, allocations: 279.2 kB / 0.7994 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/1.419, allocations: 371.3 kB / 0.7997 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of SimCode: time 1.683e-06/1.419, allocations: 0 / 0.7997 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6102/2.029, allocations: 23.33 MB / 0.8225 GB, free: 216 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/2.03, allocations: 210 kB / 0.8227 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/5.725, allocations: 0 / 0.8227 GB, free: 215.8 MB / 0.6387 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/linux/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) Environment - environmentSimulation: