Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.000818/0.0008176, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00515/0.00515, allocations: 170 kB / 16.27 MB, free: 6.652 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3909, allocations: 81.58 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1918/0.5828, allocations: 182.4 MB / 0.7619 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01544/0.5983, allocations: 12.9 MB / 0.7745 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.6, allocations: 23.88 kB / 0.7745 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.6016, allocations: 338 kB / 0.7748 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002743/0.6043, allocations: 0.8674 MB / 0.7757 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.6062, allocations: 0.6077 MB / 0.7763 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.6086, allocations: 2.097 MB / 0.7783 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.6094, allocations: 0.5363 MB / 0.7788 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003252/0.6126, allocations: 1.572 MB / 0.7804 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.6139, allocations: 0.5029 MB / 0.7809 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.424e-05/0.614, allocations: 28 kB / 0.7809 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001619/0.6156, allocations: 0.9548 MB / 0.7818 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.6158, allocations: 255.1 kB / 0.7821 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.6162, allocations: 359.8 kB / 0.7824 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001289/0.6175, allocations: 1.176 MB / 0.7836 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6175, allocations: 0 / 0.7836 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6175, allocations: 0 / 0.7836 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.6175, allocations: 3.938 kB / 0.7836 GB, free: 3.07 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001287/0.6188, allocations: 0.9115 MB / 0.7845 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6189, allocations: 8.031 kB / 0.7845 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.619, allocations: 102.5 kB / 0.7846 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.6199, allocations: 206.8 kB / 0.7848 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007004/0.6206, allocations: 0.5169 MB / 0.7853 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.621, allocations: 109.2 kB / 0.7854 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.6211, allocations: 56 kB / 0.7854 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.6223, allocations: 0.7752 MB / 0.7862 GB, free: 204 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.6223, allocations: 4 kB / 0.7862 GB, free: 200 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.6223, allocations: 24 kB / 0.7862 GB, free: 176 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.6224, allocations: 21 kB / 0.7862 GB, free: 156 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009678/0.6233, allocations: 479.3 kB / 0.7867 GB, free: 15.68 MB / 0.6231 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.003625/0.627, allocations: 4.182 MB / 0.7908 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.6271, allocations: 118.4 kB / 0.7909 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.6272, allocations: 67.5 kB / 0.791 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001647/0.6274, allocations: 97.09 kB / 0.791 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6275, allocations: 38.56 kB / 0.7911 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.6275, allocations: 0 / 0.7911 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006499/0.6281, allocations: 236.6 kB / 0.7913 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.6282, allocations: 136.5 kB / 0.7914 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.6293, allocations: 0.8448 MB / 0.7923 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.6294, allocations: 33.7 kB / 0.7923 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.6297, allocations: 391 kB / 0.7927 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.6297, allocations: 43.45 kB / 0.7927 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.904e-05/0.6298, allocations: 37.7 kB / 0.7927 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.6299, allocations: 322 kB / 0.793 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/0.6302, allocations: 111.9 kB / 0.7932 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.6306, allocations: 345.9 kB / 0.7935 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.6312, allocations: 423 kB / 0.7939 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6312, allocations: 0 / 0.7939 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009193/0.6322, allocations: 497.4 kB / 0.7944 GB, free: 7.238 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6322, allocations: 12.03 kB / 0.7944 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6322, allocations: 11.98 kB / 0.7944 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.6322, allocations: 12 kB / 0.7944 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.6326, allocations: 91.77 kB / 0.7945 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.6326, allocations: 15.94 kB / 0.7945 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.6333, allocations: 135.1 kB / 0.7946 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.6333, allocations: 23.98 kB / 0.7947 GB, free: 6.941 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (43): * Single equations (assignments): 43 * 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.000236/0.6336, allocations: 223.1 kB / 0.7949 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.6337, allocations: 75.16 kB / 0.7949 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.6338, allocations: 74.08 kB / 0.795 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.6339, allocations: 11.88 kB / 0.795 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6339, allocations: 4 kB / 0.795 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6339, allocations: 0 / 0.795 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.6351, allocations: 1.124 MB / 0.7961 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6351, allocations: 7.938 kB / 0.7961 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-05/0.6352, allocations: 15.94 kB / 0.7961 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.6352, allocations: 4 kB / 0.7961 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.6353, allocations: 4 kB / 0.7962 GB, free: 5.305 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6353, allocations: 4.312 kB / 0.7962 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.6353, allocations: 7.984 kB / 0.7962 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.6356, allocations: 275.7 kB / 0.7964 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.6357, allocations: 168.2 kB / 0.7966 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.6358, allocations: 4 kB / 0.7966 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.6362, allocations: 31.97 kB / 0.7966 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.6362, allocations: 7.938 kB / 0.7966 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.6362, allocations: 4 kB / 0.7966 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008032/0.637, allocations: 0.5966 MB / 0.7972 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.637, allocations: 0 / 0.7972 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005209/0.6376, allocations: 155.8 kB / 0.7974 GB, free: 4 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0008212/0.6384, allocations: 0.8993 MB / 0.7982 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005235/0.6389, allocations: 237 kB / 0.7985 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.639, allocations: 0 / 0.7985 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.639, allocations: 56.16 kB / 0.7985 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.6409, allocations: 355 kB / 0.7989 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007485/0.6484, allocations: 5.85 MB / 0.8046 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.6489, allocations: 0.937 MB / 0.8055 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005517/0.6494, allocations: 138.1 kB / 0.8056 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.6497, allocations: 231.4 kB / 0.8058 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.6497, allocations: 0 / 0.8058 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.924, allocations: 17.29 MB / 0.8227 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.9242, allocations: 263.1 kB / 0.823 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/3.05, allocations: 3.094 kB / 0.823 GB, free: 220.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)