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.005906/0.005906, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001078/0.001078, allocations: 191.1 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.767/0.767, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 64.09 kB / 0.5809 GB, free: 8.039 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4301, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1993/0.6294, allocations: 187.1 MB / 0.8419 GB, free: 10.44 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.6443, allocations: 13.02 MB / 0.8546 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.6456, allocations: 31.81 kB / 0.8547 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.647, allocations: 417.3 kB / 0.855 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002896/0.6499, allocations: 0.9566 MB / 0.856 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.653, allocations: 0.7076 MB / 0.8567 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002953/0.656, allocations: 1.504 MB / 0.8581 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.6572, allocations: 0.6469 MB / 0.8588 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.6619, allocations: 1.782 MB / 0.8605 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.6635, allocations: 0.5074 MB / 0.861 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.6636, allocations: 56 kB / 0.8611 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001836/0.6654, allocations: 0.877 MB / 0.8619 GB, free: 5.879 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003152/0.6658, allocations: 275.3 kB / 0.8622 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.6662, allocations: 390 kB / 0.8626 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.6679, allocations: 1.18 MB / 0.8637 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6679, allocations: 0 / 0.8637 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6679, allocations: 0 / 0.8637 GB, free: 4.043 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.668, allocations: 0 / 0.8637 GB, free: 4.043 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001363/0.6693, allocations: 1.055 MB / 0.8647 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.6694, allocations: 8.031 kB / 0.8647 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.6695, allocations: 106.4 kB / 0.8648 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009109/0.6704, allocations: 182.9 kB / 0.865 GB, free: 2.633 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.6712, allocations: 0.5519 MB / 0.8656 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.6713, allocations: 45.31 kB / 0.8656 GB, free: 2 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.362e-05/0.6714, allocations: 63.94 kB / 0.8657 GB, free: 1.938 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.6724, allocations: 0.7828 MB / 0.8664 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.6724, allocations: 3.938 kB / 0.8664 GB, free: 1.043 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.6725, allocations: 24 kB / 0.8665 GB, free: 1.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.6725, allocations: 29 kB / 0.8665 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.6734, allocations: 455.3 kB / 0.8669 GB, free: 0.5469 MB / 0.6856 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.3062/0.9796, allocations: 4.365 MB / 0.8712 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.9797, allocations: 104.6 kB / 0.8713 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.862e-05/0.9798, allocations: 77.56 kB / 0.8714 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.98, allocations: 96.17 kB / 0.8714 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.98, allocations: 40.19 kB / 0.8715 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.98, allocations: 0.7812 kB / 0.8715 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006932/0.9807, allocations: 248.2 kB / 0.8717 GB, free: 194.3 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.9807, allocations: 134.8 kB / 0.8719 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.9819, allocations: 0.8378 MB / 0.8727 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.9819, allocations: 31.33 kB / 0.8727 GB, free: 193.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.9822, allocations: 406.6 kB / 0.8731 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.9822, allocations: 38.95 kB / 0.8731 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.9823, allocations: 85.22 kB / 0.8732 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/0.9824, allocations: 327.2 kB / 0.8735 GB, free: 193 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.9827, allocations: 113.1 kB / 0.8736 GB, free: 193 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.9831, allocations: 364.7 kB / 0.874 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.9836, allocations: 442.2 kB / 0.8744 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.9836, allocations: 2.75 kB / 0.8744 GB, free: 192.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009411/0.9846, allocations: 0.4996 MB / 0.8749 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.9846, allocations: 9.016 kB / 0.8749 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.9846, allocations: 10.91 kB / 0.8749 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.788e-05/0.9847, allocations: 12.17 kB / 0.8749 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.985, allocations: 91.81 kB / 0.875 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.093e-05/0.985, allocations: 14.48 kB / 0.875 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.9857, allocations: 117.5 kB / 0.8751 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.9857, allocations: 24.56 kB / 0.8752 GB, free: 192 MB / 0.6856 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 (46): * Single equations (assignments): 46 * 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.0002393/0.986, allocations: 230.9 kB / 0.8754 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.9861, allocations: 72.59 kB / 0.8754 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.9863, allocations: 76.89 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9863, allocations: 2.531 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.9863, allocations: 4.094 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9863, allocations: 5.688 kB / 0.8755 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.9877, allocations: 1.119 MB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.9877, allocations: 2.156 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.745e-05/0.9878, allocations: 16.67 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9878, allocations: 3.562 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.9878, allocations: 7.703 kB / 0.8766 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.9878, allocations: 7.078 kB / 0.8767 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9878, allocations: 3.219 kB / 0.8767 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.9881, allocations: 266.2 kB / 0.8769 GB, free: 190.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.9883, allocations: 177.3 kB / 0.8771 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.348e-05/0.9884, allocations: 3.859 kB / 0.8771 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.9887, allocations: 25.12 kB / 0.8771 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.9887, allocations: 16.05 kB / 0.8771 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.9888, allocations: 4.219 kB / 0.8771 GB, free: 190.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008624/0.9896, allocations: 0.5894 MB / 0.8777 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9896, allocations: 0 / 0.8777 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006333/0.9903, allocations: 153.9 kB / 0.8779 GB, free: 190.3 MB / 0.6856 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.0008032/0.9911, allocations: 0.8844 MB / 0.8787 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0006315/0.9917, allocations: 240.1 kB / 0.8789 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9917, allocations: 0.8125 kB / 0.8789 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 7.874e-05/0.9918, allocations: 50.03 kB / 0.879 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.9934, allocations: 383.8 kB / 0.8794 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007357/1.001, allocations: 5.448 MB / 0.8847 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/1.001, allocations: 0.9354 MB / 0.8856 GB, free: 185.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005584/1.002, allocations: 152.7 kB / 0.8857 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/1.002, allocations: 230.5 kB / 0.886 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of SimCode: time 8.02e-07/1.002, allocations: 3.938 kB / 0.886 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/1.044, allocations: 17.97 MB / 0.9035 GB, free: 176.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/9.549, allocations: 10.33 kB / 0.9035 GB, free: 176.5 MB / 0.6856 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)