Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01422/0.01422, allocations: 164.8 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.846/1.846, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002076/0.002076, allocations: 114.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4378/0.4378, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004923, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 48.7 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.964/8.071, allocations: 2.56 GB / 2.962 GB, free: 49.02 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/8.071, allocations: 80.84 kB / 2.962 GB, free: 48.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.548/13.62, allocations: 0.9995 GB / 3.961 GB, free: 22.75 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.825e-06/13.62, allocations: 2.312 kB / 3.961 GB, free: 22.75 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003294/13.62, allocations: 76.09 kB / 3.961 GB, free: 22.74 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.02273/13.64, allocations: 4.582 MB / 3.966 GB, free: 20.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/13.64, allocations: 9.594 kB / 3.966 GB, free: 20.57 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002269/13.65, allocations: 423.6 kB / 3.966 GB, free: 20.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/13.66, allocations: 0.9821 MB / 3.967 GB, free: 20.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00934/13.67, allocations: 2.27 MB / 3.969 GB, free: 19.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003918/13.67, allocations: 291.6 kB / 3.97 GB, free: 19.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009582/13.67, allocations: 249.7 kB / 3.97 GB, free: 19.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01528/13.68, allocations: 4.508 MB / 3.974 GB, free: 19.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/13.68, allocations: 9.969 kB / 3.974 GB, free: 19.18 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005221/13.68, allocations: 110 kB / 3.974 GB, free: 19.18 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003921/13.68, allocations: 222.2 kB / 3.975 GB, free: 19.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01565/13.7, allocations: 4.203 MB / 3.979 GB, free: 19.14 MB / 474.7 MB 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.03719/13.74, allocations: 19.05 MB / 3.997 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/13.75, allocations: 2.895 MB / 4 GB, free: 8.211 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05371/13.8, allocations: 16.99 MB / 4.017 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/13.8, allocations: 60.91 kB / 4.017 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002503/13.81, allocations: 235.1 kB / 4.017 GB, free: 13.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=194): time 5.32e-06/13.81, allocations: 0 / 4.017 GB, free: 13.2 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: heater.mediums[1].p 3: tank.medium.h 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.09835/13.9, allocations: 17.84 MB / 4.034 GB, free: 10.61 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/13.9, allocations: 128.2 kB / 4.035 GB, free: 10.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/13.91, allocations: 1.676 MB / 4.036 GB, free: 10.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007353/13.91, allocations: 67.91 kB / 4.036 GB, free: 10.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009906/13.91, allocations: 1.145 MB / 4.037 GB, free: 9.742 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/13.91, allocations: 0.7258 MB / 4.038 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003489/13.91, allocations: 47.25 kB / 4.038 GB, free: 9.277 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002677/13.91, allocations: 409.5 kB / 4.039 GB, free: 8.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004641/13.92, allocations: 1.446 MB / 4.04 GB, free: 8.953 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005323/13.92, allocations: 1.947 MB / 4.042 GB, free: 8.344 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005356/13.93, allocations: 1.657 MB / 4.044 GB, free: 7.695 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-05/13.93, allocations: 3.938 kB / 4.044 GB, free: 7.695 MB / 490.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01569/13.94, allocations: 4.325 MB / 4.048 GB, free: 4.551 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002676/13.95, allocations: 5.53 MB / 4.053 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.774e-05/13.95, allocations: 12 kB / 4.053 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008298/13.95, allocations: 1.208 MB / 4.054 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004843/13.96, allocations: 0.5298 MB / 4.055 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/13.97, allocations: 5.763 MB / 4.06 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005259/13.97, allocations: 310.6 kB / 4.061 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008922/13.97, allocations: 123.2 kB / 4.061 GB, free: 7.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/13.97, allocations: 4 kB / 4.061 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0147/13.99, allocations: 3.748 MB / 4.065 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.111e-05/13.99, allocations: 16.97 kB / 4.065 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003679/13.99, allocations: 0.6594 MB / 4.065 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005378/14, allocations: 0.5903 MB / 4.066 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4222/14.42, allocations: 8.552 MB / 4.074 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/14.42, allocations: 313 kB / 4.074 GB, free: 47.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009273/14.43, allocations: 113.4 kB / 4.075 GB, free: 47.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.003334/14.43, allocations: 0.8073 MB / 4.075 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/14.43, allocations: 236.4 kB / 4.076 GB, free: 47.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0245/14.45, allocations: 9.459 MB / 4.085 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001513/14.45, allocations: 108.1 kB / 4.085 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/14.45, allocations: 0 / 4.085 GB, free: 46.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01891/14.47, allocations: 8.333 MB / 4.093 GB, free: 45.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03499/14.51, allocations: 13.75 MB / 4.106 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-05/14.51, allocations: 4.031 kB / 4.106 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003891/14.51, allocations: 405.5 kB / 4.107 GB, free: 45.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01081/14.52, allocations: 2.316 MB / 4.109 GB, free: 44.92 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008465/14.52, allocations: 75.42 kB / 4.109 GB, free: 44.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008242/14.53, allocations: 7.007 MB / 4.116 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/14.53, allocations: 1.812 kB / 4.116 GB, free: 40.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02776/14.56, allocations: 10.34 MB / 4.126 GB, free: 39.99 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003249/14.56, allocations: 0.8251 MB / 4.127 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009714/14.56, allocations: 63.56 kB / 4.127 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004144/14.57, allocations: 261.5 kB / 4.127 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006904/14.57, allocations: 198.1 kB / 4.127 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002961/14.57, allocations: 86.17 kB / 4.128 GB, free: 39.69 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002942/14.57, allocations: 1.336 MB / 4.129 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.62e-07/14.57, allocations: 0 / 4.129 GB, free: 39.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01555/14.59, allocations: 3.078 MB / 4.132 GB, free: 39.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0405/14.63, allocations: 13.21 MB / 4.145 GB, free: 37.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02003/14.65, allocations: 6.671 MB / 4.151 GB, free: 37.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/14.65, allocations: 0 / 4.151 GB, free: 37.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008201/14.66, allocations: 3.064 MB / 4.154 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/14.67, allocations: 1.081 MB / 4.155 GB, free: 37.24 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/14.7, allocations: 22.44 MB / 4.177 GB, free: 22.78 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/14.7, allocations: 2.581 MB / 4.18 GB, free: 21.99 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008658/14.71, allocations: 3.068 MB / 4.183 GB, free: 21.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003444/14.72, allocations: 1.515 MB / 4.184 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of SimCode: time 2.344e-06/14.72, allocations: 1.125 kB / 4.184 GB, free: 21.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7044/15.42, allocations: 134.6 MB / 4.316 GB, free: 46.16 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/15.42, allocations: 237.1 kB / 4.316 GB, free: 45.91 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.762/24.18, allocations: 3.906 kB / 4.316 GB, free: 45.91 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat