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.007391/0.007391, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001474/0.001474, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7798/0.7798, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 62.69 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1477, allocations: 80.21 MB / 0.6592 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.549/0.6968, allocations: 195.1 MB / 0.8497 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.7128, allocations: 14.3 MB / 0.8637 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/0.7151, allocations: 38.78 kB / 0.8637 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.7167, allocations: 0.5116 MB / 0.8642 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004996/0.7217, allocations: 1.96 MB / 0.8661 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.7241, allocations: 0.8662 MB / 0.867 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003257/0.7274, allocations: 2.569 MB / 0.8695 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.7287, allocations: 1.135 MB / 0.8706 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.7328, allocations: 1.639 MB / 0.8722 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.7347, allocations: 0.9386 MB / 0.8731 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.735, allocations: 104 kB / 0.8732 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/0.7383, allocations: 1.107 MB / 0.8743 GB, free: 9.988 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009691/0.7392, allocations: 0.4987 MB / 0.8748 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001869/0.7411, allocations: 0.6261 MB / 0.8754 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003727/0.7449, allocations: 1.92 MB / 0.8773 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7449, allocations: 0 / 0.8773 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7449, allocations: 0 / 0.8773 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.7449, allocations: 0 / 0.8773 GB, free: 6.934 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.002122/0.747, allocations: 1.457 MB / 0.8787 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.7471, allocations: 12.03 kB / 0.8787 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.7472, allocations: 143.6 kB / 0.8788 GB, free: 5.262 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7485, allocations: 254.3 kB / 0.8791 GB, free: 5.012 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.7497, allocations: 0.7922 MB / 0.8799 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.7497, allocations: 70 kB / 0.8799 GB, free: 4.105 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.7499, allocations: 88 kB / 0.88 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.7513, allocations: 1.173 MB / 0.8811 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/0.7514, allocations: 7.906 kB / 0.8812 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/0.7515, allocations: 40 kB / 0.8812 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.7515, allocations: 34 kB / 0.8812 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.7527, allocations: 0.8976 MB / 0.8821 GB, free: 1.797 MB / 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.004889/0.7576, allocations: 5.739 MB / 0.8877 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.7584, allocations: 0.546 MB / 0.8882 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.7588, allocations: 318.6 kB / 0.8885 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005632/0.7594, allocations: 307.8 kB / 0.8888 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.7594, allocations: 46.98 kB / 0.8889 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.7594, allocations: 0 / 0.8889 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001382/0.7608, allocations: 0.7948 MB / 0.8897 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.7609, allocations: 59.78 kB / 0.8897 GB, free: 9.449 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007845/0.7616, allocations: 0.7508 MB / 0.8904 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.7617, allocations: 37.7 kB / 0.8905 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.7621, allocations: 0.5105 MB / 0.891 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.7622, allocations: 185.4 kB / 0.8912 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/0.7624, allocations: 142.5 kB / 0.8913 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.7625, allocations: 330 kB / 0.8916 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003397/0.7629, allocations: 253.8 kB / 0.8919 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.7634, allocations: 0.5566 MB / 0.8924 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000912/0.7643, allocations: 0.7995 MB / 0.8932 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.7644, allocations: 4 kB / 0.8932 GB, free: 5.613 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001118/0.7655, allocations: 0.8429 MB / 0.894 GB, free: 4.762 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.7655, allocations: 12 kB / 0.894 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7655, allocations: 8 kB / 0.894 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.7656, allocations: 19.97 kB / 0.894 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005364/0.7661, allocations: 151.8 kB / 0.8942 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.7661, allocations: 15.92 kB / 0.8942 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.7667, allocations: 95.05 kB / 0.8943 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.7668, allocations: 36 kB / 0.8943 GB, free: 4.43 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.0003876/0.7672, allocations: 322.4 kB / 0.8946 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.7673, allocations: 94.91 kB / 0.8947 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008996/0.7682, allocations: 0.6102 MB / 0.8953 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.7683, allocations: 4 kB / 0.8953 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.7683, allocations: 7.938 kB / 0.8953 GB, free: 3.387 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006487/0.7689, allocations: 0.5134 MB / 0.8958 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.7711, allocations: 1.663 MB / 0.8975 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.7711, allocations: 4 kB / 0.8975 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.7716, allocations: 111.9 kB / 0.8976 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.7716, allocations: 4 kB / 0.8976 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.7717, allocations: 12 kB / 0.8976 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.7717, allocations: 12.16 kB / 0.8976 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.7717, allocations: 4 kB / 0.8976 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7729, allocations: 1.054 MB / 0.8986 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.7732, allocations: 223.9 kB / 0.8988 GB, free: 15.64 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.887e-05/0.7733, allocations: 16 kB / 0.8989 GB, free: 15.63 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.7738, allocations: 23.92 kB / 0.8989 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.7738, allocations: 35.89 kB / 0.8989 GB, free: 15.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.7739, allocations: 20 kB / 0.8989 GB, free: 15.55 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005901/0.7745, allocations: 0.5107 MB / 0.8994 GB, free: 15.04 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7745, allocations: 0 / 0.8994 GB, free: 15.04 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008876/0.7754, allocations: 303.3 kB / 0.8997 GB, free: 14.75 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.001821/0.7772, allocations: 1.688 MB / 0.9014 GB, free: 13.03 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009554/0.7782, allocations: 0.6264 MB / 0.902 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.7782, allocations: 0 / 0.902 GB, free: 12.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.7785, allocations: 269.2 kB / 0.9022 GB, free: 12.14 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.7802, allocations: 437 kB / 0.9027 GB, free: 11.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009457/0.7897, allocations: 7.182 MB / 0.9097 GB, free: 4.16 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008064/0.7906, allocations: 1.118 MB / 0.9108 GB, free: 3.016 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008312/0.7914, allocations: 279 kB / 0.911 GB, free: 2.738 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.7919, allocations: 351.3 kB / 0.9114 GB, free: 2.395 MB / 0.67 GB Notification: Performance of SimCode: time 7.41e-07/0.7919, allocations: 0 / 0.9114 GB, free: 2.395 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04547/0.8374, allocations: 23.11 MB / 0.9339 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.887/9.724, allocations: 16.39 kB / 0.9339 GB, free: 11.61 MB / 0.7012 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)