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.01168/0.01168, allocations: 99.31 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.002188/0.002188, allocations: 186.3 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 2.552/2.552, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.395/1.395, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 68.11 kB / 0.5809 GB, free: 1.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2593, allocations: 80.22 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.942/1.201, allocations: 195.1 MB / 0.8497 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02095/1.222, allocations: 14.31 MB / 0.8637 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/1.225, allocations: 36.78 kB / 0.8637 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/1.228, allocations: 0.4982 MB / 0.8642 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007543/1.235, allocations: 1.885 MB / 0.866 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/1.239, allocations: 0.8644 MB / 0.8669 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004884/1.243, allocations: 2.578 MB / 0.8694 GB, free: 2.336 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/1.245, allocations: 1.116 MB / 0.8705 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00582/1.251, allocations: 1.625 MB / 0.8721 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/1.253, allocations: 0.9224 MB / 0.873 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000205/1.254, allocations: 107.6 kB / 0.8731 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/1.257, allocations: 1.097 MB / 0.8742 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005556/1.257, allocations: 0.501 MB / 0.8746 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008688/1.258, allocations: 0.6301 MB / 0.8753 GB, free: 1.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003155/1.261, allocations: 1.916 MB / 0.8771 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/1.261, allocations: 0 / 0.8771 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.194e-06/1.261, allocations: 0.875 kB / 0.8771 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.804e-05/1.261, allocations: 0 / 0.8771 GB, free: 1.574 MB / 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.002254/1.264, allocations: 1.453 MB / 0.8786 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.264, allocations: 11.16 kB / 0.8786 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/1.264, allocations: 142.4 kB / 0.8787 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001405/1.265, allocations: 252.6 kB / 0.8789 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/1.266, allocations: 0.8001 MB / 0.8797 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.979e-05/1.267, allocations: 71.5 kB / 0.8798 GB, free: 372 kB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/1.267, allocations: 91.59 kB / 0.8799 GB, free: 372 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/1.269, allocations: 1.166 MB / 0.881 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/1.269, allocations: 7.594 kB / 0.881 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/1.269, allocations: 38.19 kB / 0.8811 GB, free: 144 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.501e-05/1.269, allocations: 31.94 kB / 0.8811 GB, free: 140 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/1.27, allocations: 0.8999 MB / 0.882 GB, free: 132 kB / 0.6387 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.006349/1.276, allocations: 5.733 MB / 0.8876 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008812/1.277, allocations: 0.5408 MB / 0.8881 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/1.278, allocations: 317.5 kB / 0.8884 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006393/1.278, allocations: 311.4 kB / 0.8887 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/1.279, allocations: 46.16 kB / 0.8887 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.966e-06/1.279, allocations: 0 / 0.8887 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001629/1.28, allocations: 0.7958 MB / 0.8895 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.28, allocations: 58.22 kB / 0.8896 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.281, allocations: 0.7565 MB / 0.8903 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/1.281, allocations: 37.05 kB / 0.8903 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/1.282, allocations: 0.5063 MB / 0.8908 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/1.282, allocations: 175.3 kB / 0.891 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/1.282, allocations: 146.9 kB / 0.8911 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.282, allocations: 334 kB / 0.8915 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/1.283, allocations: 251.6 kB / 0.8917 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/1.283, allocations: 0.5564 MB / 0.8922 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/1.285, allocations: 0.7979 MB / 0.893 GB, free: 9.211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/1.285, allocations: 6.719 kB / 0.893 GB, free: 9.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001346/1.286, allocations: 0.8441 MB / 0.8939 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.286, allocations: 7.594 kB / 0.8939 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.286, allocations: 9.688 kB / 0.8939 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/1.286, allocations: 16.84 kB / 0.8939 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/1.287, allocations: 154.7 kB / 0.894 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/1.287, allocations: 15.64 kB / 0.8941 GB, free: 8.895 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/1.287, allocations: 92.59 kB / 0.8941 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.536e-05/1.288, allocations: 38.44 kB / 0.8942 GB, free: 8.832 MB / 0.6544 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.0005542/1.288, allocations: 333.9 kB / 0.8945 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/1.288, allocations: 95.08 kB / 0.8946 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/1.289, allocations: 0.6099 MB / 0.8952 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.289, allocations: 4.312 kB / 0.8952 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.289, allocations: 0 / 0.8952 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007179/1.29, allocations: 0.5165 MB / 0.8957 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/1.293, allocations: 1.662 MB / 0.8973 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.293, allocations: 2.594 kB / 0.8973 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/1.293, allocations: 116.1 kB / 0.8974 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.293, allocations: 3.031 kB / 0.8974 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/1.293, allocations: 18.02 kB / 0.8974 GB, free: 7.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/1.293, allocations: 8.672 kB / 0.8975 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.293, allocations: 6.281 kB / 0.8975 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/1.295, allocations: 1.05 MB / 0.8985 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003636/1.295, allocations: 223 kB / 0.8987 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/1.295, allocations: 14.03 kB / 0.8987 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/1.296, allocations: 23.11 kB / 0.8987 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/1.296, allocations: 34.16 kB / 0.8988 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/1.296, allocations: 18.84 kB / 0.8988 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007681/1.296, allocations: 0.5117 MB / 0.8993 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/1.296, allocations: 0 / 0.8993 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001146/1.298, allocations: 292.7 kB / 0.8996 GB, free: 6.246 MB / 0.6544 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.002345/1.3, allocations: 1.714 MB / 0.9012 GB, free: 5.133 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.301, allocations: 0.6132 MB / 0.9018 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.301, allocations: 0 / 0.9018 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003636/1.301, allocations: 272.5 kB / 0.9021 GB, free: 4.879 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/1.303, allocations: 444.2 kB / 0.9025 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.314, allocations: 7.196 MB / 0.9095 GB, free: 15.73 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008568/1.315, allocations: 1.114 MB / 0.9106 GB, free: 14.59 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00104/1.316, allocations: 271 kB / 0.9109 GB, free: 14.32 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/1.317, allocations: 355.3 kB / 0.9112 GB, free: 13.98 MB / 0.67 GB Notification: Performance of SimCode: time 2.154e-06/1.317, allocations: 0 / 0.9112 GB, free: 13.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07358/1.391, allocations: 23.47 MB / 0.9342 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.7/17.09, allocations: 8 kB / 0.9342 GB, free: 6.914 MB / 0.6856 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)