Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_8_Buildings_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.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 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.001709/0.00171, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.7 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1821, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5245/0.7066, allocations: 187.1 MB / 0.9662 GB, free: 148 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0131/0.7197, allocations: 12.99 MB / 0.9789 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.721, allocations: 26.91 kB / 0.9789 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.7224, allocations: 412.3 kB / 0.9793 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002456/0.7249, allocations: 0.9228 MB / 0.9802 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.7269, allocations: 0.6987 MB / 0.9809 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002037/0.7289, allocations: 1.491 MB / 0.9823 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008927/0.7298, allocations: 0.6563 MB / 0.983 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.7336, allocations: 1.711 MB / 0.9846 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.735, allocations: 0.5067 MB / 0.9851 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001001/0.7351, allocations: 51.97 kB / 0.9852 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00172/0.7369, allocations: 0.871 MB / 0.986 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.7371, allocations: 281.1 kB / 0.9863 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003806/0.7375, allocations: 380.7 kB / 0.9867 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.7391, allocations: 1.161 MB / 0.9878 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7391, allocations: 4 kB / 0.9878 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7391, allocations: 0 / 0.9878 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.7391, allocations: 0 / 0.9878 GB, free: 10.96 MB / 0.7325 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.001382/0.7405, allocations: 1.044 MB / 0.9888 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.7405, allocations: 12.94 kB / 0.9888 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.7407, allocations: 105.5 kB / 0.9889 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.7416, allocations: 195.8 kB / 0.9891 GB, free: 9.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007544/0.7423, allocations: 0.5145 MB / 0.9896 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.7427, allocations: 98.88 kB / 0.9897 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.7428, allocations: 56.28 kB / 0.9898 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.7439, allocations: 0.7829 MB / 0.9905 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.7439, allocations: 10.06 kB / 0.9905 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.978e-05/0.744, allocations: 31.19 kB / 0.9906 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.744, allocations: 20.78 kB / 0.9906 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/0.7449, allocations: 472.4 kB / 0.991 GB, free: 8.574 MB / 0.7325 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.003575/0.7485, allocations: 4.41 MB / 0.9953 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.7486, allocations: 108.6 kB / 0.9954 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.7487, allocations: 73.34 kB / 0.9955 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.7489, allocations: 91.47 kB / 0.9956 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7489, allocations: 40.31 kB / 0.9956 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 3.316e-06/0.749, allocations: 0 / 0.9956 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006404/0.7496, allocations: 242.7 kB / 0.9959 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.7497, allocations: 135.2 kB / 0.996 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.7507, allocations: 0.8498 MB / 0.9968 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.7508, allocations: 28.73 kB / 0.9969 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.751, allocations: 401.8 kB / 0.9972 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.7511, allocations: 37.53 kB / 0.9973 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.7512, allocations: 88.94 kB / 0.9974 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.601e-05/0.7513, allocations: 327 kB / 0.9977 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002936/0.7516, allocations: 115.8 kB / 0.9978 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.7521, allocations: 369.8 kB / 0.9981 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.7526, allocations: 448 kB / 0.9986 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.7526, allocations: 1.812 kB / 0.9986 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009138/0.7536, allocations: 0.4964 MB / 0.9991 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7536, allocations: 10.91 kB / 0.9991 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.7536, allocations: 6.844 kB / 0.9991 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.7536, allocations: 18.41 kB / 0.9991 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.754, allocations: 100.6 kB / 0.9992 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.754, allocations: 16.88 kB / 0.9992 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.7547, allocations: 126.4 kB / 0.9993 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.7547, allocations: 25.75 kB / 0.9993 GB, free: 1.359 MB / 0.7325 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.0002309/0.755, allocations: 228 kB / 0.9996 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.7551, allocations: 77.59 kB / 0.9996 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.7552, allocations: 67.22 kB / 0.9997 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7552, allocations: 2.281 kB / 0.9997 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7553, allocations: 2.469 kB / 0.9997 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.7553, allocations: 11.91 kB / 0.9997 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.7565, allocations: 1.118 MB / 1.001 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7565, allocations: 3.719 kB / 1.001 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.989e-05/0.7566, allocations: 19.12 kB / 1.001 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7566, allocations: 6.688 kB / 1.001 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.7566, allocations: 5.062 kB / 1.001 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7566, allocations: 1.781 kB / 1.001 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7566, allocations: 3.125 kB / 1.001 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.7569, allocations: 268.6 kB / 1.001 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.7571, allocations: 176.2 kB / 1.001 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.608e-05/0.7572, allocations: 4.906 kB / 1.001 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003431/0.7576, allocations: 28.22 kB / 1.001 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.7576, allocations: 13.81 kB / 1.001 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.7576, allocations: 4.75 kB / 1.001 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007637/0.7584, allocations: 0.5948 MB / 1.002 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7584, allocations: 0 / 1.002 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005386/0.7589, allocations: 150.4 kB / 1.002 GB, free: 15.31 MB / 0.7481 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.0008031/0.7597, allocations: 0.8818 MB / 1.003 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005144/0.7603, allocations: 254 kB / 1.003 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7603, allocations: 4 kB / 1.003 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.772e-05/0.7604, allocations: 46.02 kB / 1.003 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.7619, allocations: 385.2 kB / 1.004 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/0.7687, allocations: 5.727 MB / 1.009 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.7691, allocations: 0.9371 MB / 1.01 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005309/0.7697, allocations: 146.2 kB / 1.01 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.7699, allocations: 229.1 kB / 1.01 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of SimCode: time 8.21e-07/0.7699, allocations: 0 / 1.01 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6404/1.41, allocations: 17.8 MB / 1.028 GB, free: 15.27 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.709/11.12, allocations: 8.438 kB / 1.028 GB, free: 15.27 MB / 0.7638 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)