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.001082/0.001082, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7088/0.7088, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.48 kB / 0.5019 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3461, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1808/0.5269, allocations: 187.1 MB / 0.7629 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.5412, allocations: 13.02 MB / 0.7756 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009405/0.5422, allocations: 31.81 kB / 0.7756 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.5436, allocations: 417.3 kB / 0.776 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002207/0.5458, allocations: 0.9136 MB / 0.7769 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.5477, allocations: 0.7021 MB / 0.7776 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001816/0.5495, allocations: 1.492 MB / 0.7791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009093/0.5504, allocations: 0.6547 MB / 0.7797 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003576/0.554, allocations: 1.72 MB / 0.7814 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.5552, allocations: 0.4946 MB / 0.7819 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.5554, allocations: 56 kB / 0.7819 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.557, allocations: 0.877 MB / 0.7828 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.5574, allocations: 279.1 kB / 0.783 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006827/0.5581, allocations: 378.1 kB / 0.7834 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.5599, allocations: 1.161 MB / 0.7845 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.56, allocations: 3.938 kB / 0.7845 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.833e-06/0.56, allocations: 4 kB / 0.7845 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.7e-05/0.56, allocations: 4 kB / 0.7846 GB, free: 15.5 MB / 0.6231 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.001655/0.5617, allocations: 1.04 MB / 0.7856 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.5617, allocations: 8.031 kB / 0.7856 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.5619, allocations: 106.5 kB / 0.7857 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009818/0.5629, allocations: 186.8 kB / 0.7859 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.5637, allocations: 0.5285 MB / 0.7864 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003424/0.5641, allocations: 97.25 kB / 0.7865 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.5642, allocations: 60 kB / 0.7865 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5653, allocations: 0.7866 MB / 0.7873 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.5653, allocations: 7.938 kB / 0.7873 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.5654, allocations: 24 kB / 0.7873 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.5654, allocations: 21 kB / 0.7873 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00095/0.5664, allocations: 474.5 kB / 0.7878 GB, free: 11.98 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.003694/0.5701, allocations: 4.402 MB / 0.7921 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.5702, allocations: 110.4 kB / 0.7922 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.5703, allocations: 71.44 kB / 0.7923 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.5705, allocations: 101.1 kB / 0.7924 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.5705, allocations: 34.56 kB / 0.7924 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 4.438e-06/0.5705, allocations: 0 / 0.7924 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006549/0.5712, allocations: 245.1 kB / 0.7926 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.5713, allocations: 144.4 kB / 0.7928 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.5723, allocations: 0.8447 MB / 0.7936 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5724, allocations: 33.7 kB / 0.7936 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/0.5726, allocations: 394.9 kB / 0.794 GB, free: 5.246 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.5727, allocations: 43.45 kB / 0.794 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.5728, allocations: 89.88 kB / 0.7941 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/0.5729, allocations: 322 kB / 0.7944 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.5732, allocations: 116.7 kB / 0.7945 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.5737, allocations: 370.8 kB / 0.7949 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.5742, allocations: 445.5 kB / 0.7953 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.5743, allocations: 4 kB / 0.7953 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001006/0.5753, allocations: 0.5002 MB / 0.7958 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5753, allocations: 11.98 kB / 0.7958 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5753, allocations: 8 kB / 0.7958 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5754, allocations: 12 kB / 0.7958 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.5757, allocations: 108.4 kB / 0.7959 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/0.5757, allocations: 15.94 kB / 0.796 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006907/0.5764, allocations: 127.1 kB / 0.7961 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.5765, allocations: 20 kB / 0.7961 GB, free: 2.848 MB / 0.6231 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.0002491/0.5767, allocations: 235.1 kB / 0.7963 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.5769, allocations: 75.06 kB / 0.7964 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.577, allocations: 70.17 kB / 0.7965 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.577, allocations: 7.938 kB / 0.7965 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.577, allocations: 4 kB / 0.7965 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5771, allocations: 0 / 0.7965 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.5784, allocations: 1.117 MB / 0.7976 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5784, allocations: 0 / 0.7976 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.897e-05/0.5785, allocations: 27.92 kB / 0.7976 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5785, allocations: 4 kB / 0.7976 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.5785, allocations: 4 kB / 0.7976 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5785, allocations: 320 / 0.7976 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5785, allocations: 8 kB / 0.7976 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.5788, allocations: 267.6 kB / 0.7979 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.579, allocations: 172.1 kB / 0.798 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5791, allocations: 7.984 kB / 0.798 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.5795, allocations: 15.98 kB / 0.7981 GB, free: 0.6836 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.054e-05/0.5795, allocations: 23.92 kB / 0.7981 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.5795, allocations: 4 kB / 0.7981 GB, free: 0.6562 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008426/0.5804, allocations: 0.5888 MB / 0.7987 GB, free: 76 kB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5804, allocations: 4 kB / 0.7987 GB, free: 72 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005868/0.581, allocations: 155.9 kB / 0.7988 GB, free: 15.91 MB / 0.6387 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.0008291/0.5818, allocations: 0.885 MB / 0.7997 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005569/0.5824, allocations: 253.2 kB / 0.7999 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5824, allocations: 0 / 0.7999 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.5825, allocations: 48.66 kB / 0.8 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5841, allocations: 364.2 kB / 0.8003 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/0.5912, allocations: 5.74 MB / 0.8059 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.5917, allocations: 0.937 MB / 0.8068 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005577/0.5923, allocations: 154.1 kB / 0.807 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.5925, allocations: 235.4 kB / 0.8072 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of SimCode: time 8.12e-07/0.5926, allocations: 0 / 0.8072 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.561/2.153, allocations: 17.8 MB / 0.8246 GB, free: 218.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.11/10.26, allocations: 8.547 kB / 0.8246 GB, free: 218.6 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)