Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u",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.00727/0.00727, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001769/0.001769, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8496/0.8496, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 62.44 kB / 0.5809 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2112, allocations: 80.21 MB / 0.6592 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.7076/0.9189, allocations: 300.3 MB / 0.9525 GB, free: 2.723 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.07862/0.9975, allocations: 49.96 MB / 1.001 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01332/1.011, allocations: 294.2 kB / 1.002 GB, free: 360 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01227/1.023, allocations: 3.517 MB / 1.005 GB, free: 12.81 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.02927/1.053, allocations: 9.467 MB / 1.014 GB, free: 3.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.01878/1.071, allocations: 6.701 MB / 1.021 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.02903/1.1, allocations: 18.5 MB / 1.039 GB, free: 10.1 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01345/1.114, allocations: 5.859 MB / 1.045 GB, free: 4.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5464/1.66, allocations: 7.559 MB / 1.052 GB, free: 47.56 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0129/1.673, allocations: 5.09 MB / 1.057 GB, free: 47.56 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.003242/1.677, allocations: 0.5697 MB / 1.057 GB, free: 47.56 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01743/1.694, allocations: 4.384 MB / 1.062 GB, free: 47.56 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.004726/1.699, allocations: 1.503 MB / 1.063 GB, free: 47.56 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.01393/1.713, allocations: 3.741 MB / 1.067 GB, free: 46.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.03316/1.746, allocations: 10.48 MB / 1.077 GB, free: 45.25 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.746, allocations: 0 / 1.077 GB, free: 45.25 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/1.746, allocations: 0 / 1.077 GB, free: 45.25 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0004968/1.746, allocations: 0 / 1.077 GB, free: 45.25 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.02462/1.771, allocations: 7.707 MB / 1.085 GB, free: 41.68 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.771, allocations: 9.469 kB / 1.085 GB, free: 41.68 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001345/1.773, allocations: 0.5347 MB / 1.085 GB, free: 41.62 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/1.776, allocations: 0.8251 MB / 1.086 GB, free: 41.21 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/1.788, allocations: 5.411 MB / 1.091 GB, free: 40.05 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003214/1.789, allocations: 321.6 kB / 1.092 GB, free: 40.04 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008297/1.79, allocations: 435.5 kB / 1.092 GB, free: 40.04 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008706/1.798, allocations: 4.383 MB / 1.096 GB, free: 39.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.423e-05/1.798, allocations: 14.58 kB / 1.096 GB, free: 39.23 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003865/1.799, allocations: 173.4 kB / 1.096 GB, free: 39.23 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001239/1.799, allocations: 124 kB / 1.097 GB, free: 39.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005365/1.804, allocations: 2.961 MB / 1.099 GB, free: 39.2 MB / 0.795 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.02783/1.832, allocations: 25.16 MB / 1.124 GB, free: 23.32 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/1.835, allocations: 2.761 MB / 1.127 GB, free: 22.13 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.836, allocations: 0.9943 MB / 1.128 GB, free: 22.12 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/1.838, allocations: 3.909 MB / 1.132 GB, free: 17.71 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.933e-05/1.838, allocations: 62.03 kB / 1.132 GB, free: 17.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=217): time 4.298e-06/1.838, allocations: 3.75 kB / 1.132 GB, free: 17.66 MB / 0.795 GB Notification: Performance of matching and sorting (n=217): time 0.01003/1.848, allocations: 4.085 MB / 1.136 GB, free: 16.79 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/1.848, allocations: 75.75 kB / 1.136 GB, free: 16.72 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/1.855, allocations: 4.306 MB / 1.14 GB, free: 16.37 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0006124/1.856, allocations: 83.67 kB / 1.14 GB, free: 16.34 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.002031/1.858, allocations: 2.825 MB / 1.143 GB, free: 15.42 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/1.859, allocations: 0.7964 MB / 1.143 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/1.859, allocations: 0.5787 MB / 1.144 GB, free: 14.85 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/1.859, allocations: 301.1 kB / 1.144 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/1.861, allocations: 0.8202 MB / 1.145 GB, free: 14.52 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/1.863, allocations: 1.822 MB / 1.147 GB, free: 13.36 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/1.866, allocations: 2.517 MB / 1.149 GB, free: 12.48 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.866, allocations: 5.375 kB / 1.149 GB, free: 12.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.008087/1.874, allocations: 3.572 MB / 1.153 GB, free: 11.97 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.874, allocations: 22.55 kB / 1.153 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/1.874, allocations: 20.34 kB / 1.153 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/1.877, allocations: 0.5793 MB / 1.153 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.878, allocations: 0.5577 MB / 1.154 GB, free: 11.9 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/1.88, allocations: 2.692 MB / 1.157 GB, free: 9.809 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004918/1.885, allocations: 330 kB / 1.157 GB, free: 9.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003456/1.886, allocations: 139.4 kB / 1.157 GB, free: 9.656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00347/1.889, allocations: 1.568 MB / 1.159 GB, free: 9.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001798/1.891, allocations: 1.796 MB / 1.16 GB, free: 8.406 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00286/1.894, allocations: 2.463 MB / 1.163 GB, free: 7.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.226e-05/1.894, allocations: 10.88 kB / 1.163 GB, free: 7.523 MB / 0.795 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006174/1.9, allocations: 3.341 MB / 1.166 GB, free: 7.051 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.9, allocations: 13.75 kB / 1.166 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.9, allocations: 23.34 kB / 1.166 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/1.901, allocations: 355.2 kB / 1.166 GB, free: 7.016 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/1.902, allocations: 0.5604 MB / 1.167 GB, free: 7.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006056/1.908, allocations: 8.472 MB / 1.175 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/1.913, allocations: 300.7 kB / 1.176 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/1.914, allocations: 138.7 kB / 1.176 GB, free: 0.5898 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000821/1.915, allocations: 369.4 kB / 1.176 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.916, allocations: 0.5259 MB / 1.177 GB, free: 112 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006386/1.923, allocations: 3.557 MB / 1.18 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.095e-05/1.923, allocations: 40.92 kB / 1.18 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.923, allocations: 0 / 1.18 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003636/1.926, allocations: 2.439 MB / 1.182 GB, free: 15.47 MB / 0.8106 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 postOpt removeSimpleEquations (simulation): time 0.01551/1.942, allocations: 8.206 MB / 1.19 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.942, allocations: 0 / 1.19 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/1.943, allocations: 363.9 kB / 1.191 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007283/1.944, allocations: 308.6 kB / 1.191 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.944, allocations: 66.47 kB / 1.191 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/1.946, allocations: 2.489 MB / 1.194 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.946, allocations: 0 / 1.194 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008306/1.954, allocations: 4.376 MB / 1.198 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/1.958, allocations: 0.9031 MB / 1.199 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001377/1.959, allocations: 40.94 kB / 1.199 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/1.962, allocations: 124.8 kB / 1.199 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/1.962, allocations: 156.5 kB / 1.199 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002371/1.962, allocations: 106.2 kB / 1.199 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.005205/1.968, allocations: 2.859 MB / 1.202 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/1.968, allocations: 0 / 1.202 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01161/1.979, allocations: 3.254 MB / 1.205 GB, free: 14.59 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * 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 (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01063/1.99, allocations: 6.189 MB / 1.211 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008063/1.998, allocations: 4.425 MB / 1.215 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.998, allocations: 192 / 1.215 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/2, allocations: 1.234 MB / 1.217 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01331/2.013, allocations: 2.625 MB / 1.219 GB, free: 500 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06303/2.077, allocations: 32.06 MB / 1.251 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/2.079, allocations: 2.873 MB / 1.253 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.004907/2.084, allocations: 1.159 MB / 1.254 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00345/2.088, allocations: 2.531 MB / 1.257 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of SimCode: time 1.362e-06/2.088, allocations: 0 / 1.257 GB, free: 9.004 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2493/2.337, allocations: 145.6 MB / 1.399 GB, free: 9.102 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.72/27.06, allocations: 2.656 kB / 1.399 GB, free: 9.102 MB / 1.014 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)