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.01106/0.01106, allocations: 102.5 kB / 15.73 MB, free: 6.031 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.002057/0.002057, allocations: 195.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.73/2.73, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.451/1.451, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.31 kB / 0.5809 GB, free: 1.066 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2624, allocations: 80.21 MB / 0.6592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u): time 1.436/1.698, allocations: 300.3 MB / 0.9525 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1229/1.821, allocations: 49.94 MB / 1.001 GB, free: 8 kB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01992/1.841, allocations: 302.3 kB / 1.002 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.01867/1.86, allocations: 3.419 MB / 1.005 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.05323/1.913, allocations: 9.01 MB / 1.014 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.03258/1.946, allocations: 6.64 MB / 1.02 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.04426/1.99, allocations: 18.46 MB / 1.038 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02056/2.011, allocations: 5.862 MB / 1.044 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03629/2.047, allocations: 7.54 MB / 1.051 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01722/2.064, allocations: 5.087 MB / 1.056 GB, free: 7.508 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.004981/2.069, allocations: 0.5664 MB / 1.057 GB, free: 6.941 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02295/2.092, allocations: 4.379 MB / 1.061 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.005247/2.098, allocations: 1.51 MB / 1.063 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.01476/2.112, allocations: 3.732 MB / 1.066 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.04035/2.153, allocations: 10.44 MB / 1.076 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.714e-05/2.153, allocations: 0 / 1.076 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.435e-06/2.153, allocations: 3.938 kB / 1.076 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.000491/2.153, allocations: 0 / 1.076 GB, free: 2.816 MB / 0.7794 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.03395/2.187, allocations: 7.482 MB / 1.084 GB, free: 11.19 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 7.298e-05/2.188, allocations: 8.031 kB / 1.084 GB, free: 11.18 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002614/2.19, allocations: 0.5396 MB / 1.084 GB, free: 10.64 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005975/2.196, allocations: 0.7803 MB / 1.085 GB, free: 9.848 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0211/2.217, allocations: 5.363 MB / 1.09 GB, free: 4.41 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/2.218, allocations: 324 kB / 1.091 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/2.22, allocations: 435.9 kB / 1.091 GB, free: 3.664 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/2.239, allocations: 4.381 MB / 1.095 GB, free: 15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003691/2.24, allocations: 11.94 kB / 1.095 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001939/2.242, allocations: 168 kB / 1.095 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/2.242, allocations: 123.9 kB / 1.096 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/2.255, allocations: 2.957 MB / 1.098 GB, free: 11.75 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 preOpt removeSimpleEquations (simulation): time 0.0596/2.315, allocations: 25.12 MB / 1.123 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6488/2.964, allocations: 2.764 MB / 1.126 GB, free: 321.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003808/2.968, allocations: 1 MB / 1.127 GB, free: 321.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004094/2.972, allocations: 3.903 MB / 1.13 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/2.972, allocations: 63.64 kB / 1.131 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=217): time 7.574e-06/2.972, allocations: 0.625 kB / 1.131 GB, free: 317.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=217): time 0.02237/2.994, allocations: 4.06 MB / 1.134 GB, free: 316.1 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/2.994, allocations: 75.22 kB / 1.135 GB, free: 316 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01682/3.011, allocations: 4.299 MB / 1.139 GB, free: 314.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.000998/3.012, allocations: 83.73 kB / 1.139 GB, free: 314.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004563/3.017, allocations: 2.781 MB / 1.142 GB, free: 312.9 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001604/3.019, allocations: 0.7553 MB / 1.142 GB, free: 312.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/3.02, allocations: 0.5724 MB / 1.143 GB, free: 312 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/3.02, allocations: 308.2 kB / 1.143 GB, free: 311.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/3.023, allocations: 0.8163 MB / 1.144 GB, free: 311.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003866/3.027, allocations: 1.821 MB / 1.146 GB, free: 309.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006143/3.033, allocations: 2.518 MB / 1.148 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-05/3.033, allocations: 11.88 kB / 1.148 GB, free: 308.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.013/3.046, allocations: 3.561 MB / 1.152 GB, free: 306.7 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.619e-05/3.046, allocations: 15.78 kB / 1.152 GB, free: 306.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.213e-05/3.046, allocations: 19.69 kB / 1.152 GB, free: 306.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003763/3.05, allocations: 0.5822 MB / 1.152 GB, free: 306.6 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/3.053, allocations: 0.554 MB / 1.153 GB, free: 306.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/3.056, allocations: 2.687 MB / 1.155 GB, free: 304.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/3.063, allocations: 333.2 kB / 1.156 GB, free: 304 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000772/3.064, allocations: 129.9 kB / 1.156 GB, free: 303.9 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005839/3.069, allocations: 1.571 MB / 1.157 GB, free: 303.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003773/3.073, allocations: 1.789 MB / 1.159 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005955/3.079, allocations: 2.466 MB / 1.162 GB, free: 300 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.696e-05/3.079, allocations: 3.969 kB / 1.162 GB, free: 300 MB / 0.8262 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.01292/3.092, allocations: 3.31 MB / 1.165 GB, free: 298.6 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/3.092, allocations: 15.75 kB / 1.165 GB, free: 298.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-05/3.092, allocations: 23.78 kB / 1.165 GB, free: 298.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/3.094, allocations: 365.9 kB / 1.165 GB, free: 298.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003223/3.097, allocations: 0.5526 MB / 1.166 GB, free: 298.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/3.108, allocations: 8.449 MB / 1.174 GB, free: 291 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/3.116, allocations: 301.5 kB / 1.174 GB, free: 290.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000971/3.117, allocations: 131.2 kB / 1.174 GB, free: 290.9 MB / 0.8262 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.001782/3.119, allocations: 368.6 kB / 1.175 GB, free: 290.5 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003807/3.123, allocations: 0.508 MB / 1.175 GB, free: 290.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/3.136, allocations: 3.556 MB / 1.179 GB, free: 288.7 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/3.136, allocations: 40.34 kB / 1.179 GB, free: 288.7 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/3.136, allocations: 0 / 1.179 GB, free: 288.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007106/3.144, allocations: 2.436 MB / 1.181 GB, free: 287.3 MB / 0.8262 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.02563/3.169, allocations: 8.2 MB / 1.189 GB, free: 278.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/3.169, allocations: 0 / 1.189 GB, free: 278.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/3.172, allocations: 365.4 kB / 1.189 GB, free: 278.6 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001101/3.173, allocations: 306.6 kB / 1.19 GB, free: 278.3 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004205/3.173, allocations: 67.95 kB / 1.19 GB, free: 278.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/3.175, allocations: 2.49 MB / 1.192 GB, free: 275.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/3.176, allocations: 13.77 kB / 1.192 GB, free: 275.6 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0133/3.189, allocations: 4.327 MB / 1.197 GB, free: 271.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003849/3.193, allocations: 0.8806 MB / 1.197 GB, free: 270.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002003/3.195, allocations: 44 kB / 1.197 GB, free: 270.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005127/3.2, allocations: 127.3 kB / 1.198 GB, free: 270.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005851/3.201, allocations: 157.8 kB / 1.198 GB, free: 270 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005454/3.201, allocations: 114.2 kB / 1.198 GB, free: 269.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.009156/3.21, allocations: 2.844 MB / 1.201 GB, free: 267.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9.91e-07/3.21, allocations: 0 / 1.201 GB, free: 267.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01608/3.226, allocations: 3.242 MB / 1.204 GB, free: 263.9 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.01667/3.243, allocations: 6.132 MB / 1.21 GB, free: 258 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01196/3.255, allocations: 4.431 MB / 1.214 GB, free: 253.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/3.255, allocations: 2.922 kB / 1.214 GB, free: 253.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00351/3.259, allocations: 1.247 MB / 1.215 GB, free: 252.3 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02295/3.282, allocations: 2.627 MB / 1.218 GB, free: 249.9 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/3.383, allocations: 31.82 MB / 1.249 GB, free: 217 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004962/3.388, allocations: 2.873 MB / 1.252 GB, free: 214.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.008579/3.397, allocations: 1.16 MB / 1.253 GB, free: 212.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006432/3.404, allocations: 2.53 MB / 1.255 GB, free: 210.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.683e-06/3.404, allocations: 3.938 kB / 1.255 GB, free: 210.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3459/3.75, allocations: 148.2 MB / 1.4 GB, free: 63.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.81/44.56, allocations: 11.88 kB / 1.4 GB, free: 63.52 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)