Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_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.00129/0.00129, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00152/0.00152, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.3 MB / 0.6653 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8875/0.8879, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1898/1.078, allocations: 155.6 MB / 1.106 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01382/1.092, allocations: 10.89 MB / 1.116 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001323/1.093, allocations: 19.88 kB / 1.116 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001593/1.095, allocations: 430 kB / 1.117 GB, free: 8.836 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0035/1.098, allocations: 1.036 MB / 1.118 GB, free: 7.797 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/1.101, allocations: 0.8054 MB / 1.118 GB, free: 7 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001933/1.103, allocations: 0.9019 MB / 1.119 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007344/1.103, allocations: 0.4948 MB / 1.12 GB, free: 5.586 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/1.106, allocations: 1.141 MB / 1.121 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/1.107, allocations: 326.5 kB / 1.121 GB, free: 4.121 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/1.107, allocations: 24 kB / 1.121 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/1.108, allocations: 0.6084 MB / 1.122 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/1.109, allocations: 223.4 kB / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0002171/1.109, allocations: 165.3 kB / 1.122 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001068/1.11, allocations: 0.8222 MB / 1.123 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/1.11, allocations: 0 / 1.123 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.344e-06/1.11, allocations: 0 / 1.123 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.153e-05/1.11, allocations: 0 / 1.123 GB, free: 2.277 MB / 0.8731 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/1.111, allocations: 0.9232 MB / 1.124 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/1.111, allocations: 8.031 kB / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001119/1.111, allocations: 102.5 kB / 1.124 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009732/1.112, allocations: 206.8 kB / 1.124 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/1.113, allocations: 0.494 MB / 1.125 GB, free: 456 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/1.114, allocations: 113.2 kB / 1.125 GB, free: 344 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/1.114, allocations: 63.89 kB / 1.125 GB, free: 280 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/1.115, allocations: 0.7558 MB / 1.126 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/1.115, allocations: 4 kB / 1.126 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/1.115, allocations: 27.98 kB / 1.126 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.619e-05/1.115, allocations: 25 kB / 1.126 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/1.116, allocations: 479.1 kB / 1.126 GB, free: 14.89 MB / 0.8887 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.003785/1.12, allocations: 4.163 MB / 1.13 GB, free: 10.51 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/1.12, allocations: 110.3 kB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/1.12, allocations: 4.141 kB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.12, allocations: 38.55 kB / 1.13 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/1.12, allocations: 0 / 1.13 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of matching and sorting (n=10): time 0.0006714/1.121, allocations: 240.8 kB / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/1.121, allocations: 132.5 kB / 1.131 GB, free: 9.91 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/1.122, allocations: 0.8368 MB / 1.131 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/1.122, allocations: 33.7 kB / 1.132 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/1.122, allocations: 394.9 kB / 1.132 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/1.122, allocations: 39.55 kB / 1.132 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.554e-05/1.122, allocations: 4 kB / 1.132 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001139/1.122, allocations: 325.9 kB / 1.132 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.123, allocations: 119.8 kB / 1.132 GB, free: 8.152 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/1.123, allocations: 346.5 kB / 1.133 GB, free: 7.707 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/1.123, allocations: 167.8 kB / 1.133 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/1.123, allocations: 0 / 1.133 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009357/1.124, allocations: 0.489 MB / 1.133 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.124, allocations: 11.95 kB / 1.133 GB, free: 7.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.124, allocations: 4 kB / 1.133 GB, free: 7.031 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/1.124, allocations: 12 kB / 1.133 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.125, allocations: 95.83 kB / 1.133 GB, free: 6.926 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.125, allocations: 11.94 kB / 1.133 GB, free: 6.914 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/1.126, allocations: 131.2 kB / 1.134 GB, free: 6.785 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/1.126, allocations: 27.98 kB / 1.134 GB, free: 6.758 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002841/1.126, allocations: 221.7 kB / 1.134 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/1.126, allocations: 67.16 kB / 1.134 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/1.126, allocations: 82.05 kB / 1.134 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.126, allocations: 4 kB / 1.134 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.126, allocations: 0 / 1.134 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/1.126, allocations: 3.938 kB / 1.134 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/1.128, allocations: 1.128 MB / 1.135 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.128, allocations: 4 kB / 1.135 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/1.128, allocations: 20 kB / 1.135 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.128, allocations: 4 kB / 1.135 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.128, allocations: 0 / 1.135 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/1.128, allocations: 12.25 kB / 1.135 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.128, allocations: 4.469 kB / 1.135 GB, free: 5.113 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/1.128, allocations: 367.2 kB / 1.135 GB, free: 4.652 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/1.128, allocations: 168.2 kB / 1.136 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/1.128, allocations: 11.94 kB / 1.136 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/1.129, allocations: 23.98 kB / 1.136 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/1.129, allocations: 23.91 kB / 1.136 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/1.129, allocations: 4 kB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008501/1.13, allocations: 0.5849 MB / 1.136 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.13, allocations: 0 / 1.136 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006123/1.13, allocations: 151.8 kB / 1.136 GB, free: 3.676 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/1.131, allocations: 1.618 MB / 1.138 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005519/1.132, allocations: 225.1 kB / 1.138 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.132, allocations: 3.938 kB / 1.138 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 6.891e-05/1.132, allocations: 48.53 kB / 1.138 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/1.134, allocations: 376.3 kB / 1.139 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007874/1.142, allocations: 8.485 MB / 1.147 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/1.142, allocations: 0.9528 MB / 1.148 GB, free: 7.664 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006363/1.143, allocations: 142.1 kB / 1.148 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/1.143, allocations: 227.4 kB / 1.148 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of SimCode: time 1.273e-06/1.143, allocations: 0 / 1.148 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.035/1.178, allocations: 17.27 MB / 1.165 GB, free: 6.426 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/1.178, allocations: 251.7 kB / 1.165 GB, free: 6.094 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.008/3.187, allocations: 0 / 1.165 GB, free: 6.094 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat does not exist to compare? outputFormat=mat