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.001022/0.001022, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009516/0.0009517, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.301/1.301, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.631/1.631, allocations: 292.3 MB / 0.5486 GB, free: 13.67 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.001303/0.001303, allocations: 65.98 kB / 0.6711 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1704, allocations: 114.5 MB / 0.783 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.499/0.6695, allocations: 184.7 MB / 0.9633 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.6811, allocations: 12.89 MB / 0.9759 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008793/0.682, allocations: 24.19 kB / 0.9759 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.683, allocations: 352.2 kB / 0.9762 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.6848, allocations: 0.8626 MB / 0.9771 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001388/0.6862, allocations: 0.6314 MB / 0.9777 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.6875, allocations: 1.487 MB / 0.9792 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.6881, allocations: 0.6281 MB / 0.9798 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.6909, allocations: 1.68 MB / 0.9814 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.6919, allocations: 0.5398 MB / 0.9819 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.318e-05/0.692, allocations: 54.69 kB / 0.982 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.6932, allocations: 0.904 MB / 0.9829 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.6934, allocations: 283.4 kB / 0.9831 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.6937, allocations: 388.8 kB / 0.9835 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.6948, allocations: 1.201 MB / 0.9847 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.6948, allocations: 4 kB / 0.9847 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6948, allocations: 0 / 0.9847 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.6948, allocations: 1.375 kB / 0.9847 GB, free: 4.73 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.001253/0.6961, allocations: 1.047 MB / 0.9857 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.6961, allocations: 9.625 kB / 0.9857 GB, free: 20.07 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.484e-05/0.6962, allocations: 101.6 kB / 0.9858 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.697, allocations: 197.4 kB / 0.986 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005992/0.6976, allocations: 0.5198 MB / 0.9865 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003054/0.6979, allocations: 96.78 kB / 0.9866 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.698, allocations: 58.5 kB / 0.9867 GB, free: 19.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.699, allocations: 0.7632 MB / 0.9874 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.699, allocations: 5.562 kB / 0.9874 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.699, allocations: 32.5 kB / 0.9874 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.6991, allocations: 22.25 kB / 0.9875 GB, free: 19.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007933/0.6999, allocations: 480.5 kB / 0.9879 GB, free: 19.38 MB / 0.7481 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.002912/0.7028, allocations: 4.164 MB / 0.992 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/0.7029, allocations: 104.8 kB / 0.9921 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.583e-05/0.703, allocations: 74.2 kB / 0.9922 GB, free: 16.13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001509/0.7031, allocations: 97.39 kB / 0.9922 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.7032, allocations: 37.09 kB / 0.9923 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.7032, allocations: 1.406 kB / 0.9923 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.000523/0.7037, allocations: 238.5 kB / 0.9925 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.7038, allocations: 136.6 kB / 0.9926 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008827/0.7046, allocations: 0.833 MB / 0.9935 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.7047, allocations: 30.08 kB / 0.9935 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.7049, allocations: 391.3 kB / 0.9939 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.705, allocations: 44.03 kB / 0.9939 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7051, allocations: 89.02 kB / 0.994 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.7052, allocations: 321.5 kB / 0.9943 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.7055, allocations: 106.5 kB / 0.9944 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.7058, allocations: 357.1 kB / 0.9947 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.7062, allocations: 406.5 kB / 0.9951 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.7062, allocations: 2.219 kB / 0.9951 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007393/0.7069, allocations: 496.9 kB / 0.9956 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.707, allocations: 8.75 kB / 0.9956 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.707, allocations: 5.438 kB / 0.9956 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.707, allocations: 10.91 kB / 0.9956 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.7073, allocations: 96.3 kB / 0.9957 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.7073, allocations: 15.2 kB / 0.9957 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.7079, allocations: 125.6 kB / 0.9958 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.7079, allocations: 25.69 kB / 0.9959 GB, free: 14.27 MB / 0.7481 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.0001968/0.7081, allocations: 224.2 kB / 0.9961 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.7083, allocations: 70.78 kB / 0.9962 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/0.7083, allocations: 76.84 kB / 0.9962 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.7083, allocations: 1.438 kB / 0.9962 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7084, allocations: 1.375 kB / 0.9962 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.7084, allocations: 5.219 kB / 0.9962 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.7094, allocations: 1.123 MB / 0.9973 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.7094, allocations: 1.625 kB / 0.9973 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.7095, allocations: 24.75 kB / 0.9974 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7095, allocations: 2.281 kB / 0.9974 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.7095, allocations: 2.406 kB / 0.9974 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7095, allocations: 11.75 kB / 0.9974 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7095, allocations: 1.844 kB / 0.9974 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.7098, allocations: 257.6 kB / 0.9976 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.7099, allocations: 176.1 kB / 0.9978 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.048e-05/0.71, allocations: 7.25 kB / 0.9978 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/0.7103, allocations: 20.53 kB / 0.9978 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.7104, allocations: 16.72 kB / 0.9978 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.7104, allocations: 4.906 kB / 0.9978 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006181/0.711, allocations: 0.5853 MB / 0.9984 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.711, allocations: 0 / 0.9984 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004602/0.7115, allocations: 156 kB / 0.9986 GB, free: 12.57 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.0006994/0.7122, allocations: 0.8976 MB / 0.9994 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004092/0.7126, allocations: 227.4 kB / 0.9996 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7126, allocations: 2.25 kB / 0.9997 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 5.381e-05/0.7127, allocations: 53.66 kB / 0.9997 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.7141, allocations: 385.7 kB / 1 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/0.7201, allocations: 5.784 MB / 1.006 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.7205, allocations: 0.9406 MB / 1.007 GB, free: 7.363 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004283/0.7209, allocations: 140.5 kB / 1.007 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.7212, allocations: 226.4 kB / 1.007 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of SimCode: time 2.61e-07/0.7212, allocations: 0 / 1.007 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.049/2.771, allocations: 17.51 MB / 1.024 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/2.771, allocations: 281.3 kB / 1.024 GB, free: 276 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/4.693, allocations: 3.25 kB / 1.024 GB, free: 276 kB / 0.7481 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)