Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,fileNamePrefix="ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7709/0.7709, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.34e-05/1.342e-05, allocations: 0 / 204.9 MB, free: 9.949 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 31.98 MB / 236.9 MB, free: 5.363 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.373/1.501, allocations: 295.9 MB / 0.5203 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1569/1.658, allocations: 184.9 MB / 0.7008 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/1.658, allocations: 15.88 kB / 0.7008 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003198/1.659, allocations: 119.2 kB / 0.7009 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003816/1.659, allocations: 230.3 kB / 0.7012 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2571/1.916, allocations: 8.537 MB / 0.7095 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009204/1.917, allocations: 0.7802 MB / 0.7103 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/1.918, allocations: 330.3 kB / 0.7106 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004493/1.918, allocations: 279.6 kB / 0.7108 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/1.918, allocations: 266.3 kB / 0.7111 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.919, allocations: 26.94 kB / 0.7111 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02768/1.946, allocations: 19.53 MB / 0.7302 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/1.946, allocations: 99.88 kB / 0.7303 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005019/1.947, allocations: 353.6 kB / 0.7306 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01841/1.965, allocations: 9.898 MB / 0.7403 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.965, allocations: 0 / 0.7403 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/1.965, allocations: 1.062 kB / 0.7403 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.287e-06/1.965, allocations: 0 / 0.7403 GB, free: 2.523 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004156/1.97, allocations: 1.892 MB / 0.7421 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.97, allocations: 11.47 kB / 0.7422 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/1.97, allocations: 117.8 kB / 0.7423 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.344e-05/1.97, allocations: 94.59 kB / 0.7424 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/1.97, allocations: 407.6 kB / 0.7427 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/1.97, allocations: 45.91 kB / 0.7428 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.165e-05/1.97, allocations: 62.56 kB / 0.7429 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008736/1.971, allocations: 0.7154 MB / 0.7436 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/1.971, allocations: 0 / 0.7436 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/1.971, allocations: 27.19 kB / 0.7436 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/1.971, allocations: 32.48 kB / 0.7436 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/1.972, allocations: 437.7 kB / 0.744 GB, free: 0.5586 MB / 0.5762 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.01631/1.988, allocations: 11.96 MB / 0.7557 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/1.988, allocations: 125.8 kB / 0.7558 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.989, allocations: 104.1 kB / 0.7559 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1441/2.133, allocations: 77.53 MB / 0.8316 GB, free: 10.07 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/2.133, allocations: 37.47 kB / 0.8317 GB, free: 10.03 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 1.763e-06/2.133, allocations: 0 / 0.8317 GB, free: 10.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0006328/2.133, allocations: 331.5 kB / 0.832 GB, free: 9.789 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/2.133, allocations: 84.92 kB / 0.8321 GB, free: 9.691 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/2.134, allocations: 0.4887 MB / 0.8326 GB, free: 9.301 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/2.134, allocations: 29.7 kB / 0.8326 GB, free: 9.266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/2.134, allocations: 358.8 kB / 0.8329 GB, free: 8.988 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/2.134, allocations: 150.4 kB / 0.8331 GB, free: 8.859 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.66e-05/2.134, allocations: 57.86 kB / 0.8331 GB, free: 8.816 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001373/2.134, allocations: 368.9 kB / 0.8335 GB, free: 8.469 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/2.135, allocations: 97.31 kB / 0.8336 GB, free: 8.41 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/2.135, allocations: 279.9 kB / 0.8338 GB, free: 8.121 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/2.135, allocations: 419.2 kB / 0.8342 GB, free: 7.77 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/2.135, allocations: 0 / 0.8342 GB, free: 7.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006306/2.136, allocations: 471.1 kB / 0.8347 GB, free: 7.445 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/2.136, allocations: 8.094 kB / 0.8347 GB, free: 7.438 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/2.136, allocations: 8 kB / 0.8347 GB, free: 7.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/2.136, allocations: 11.98 kB / 0.8347 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/2.136, allocations: 73.78 kB / 0.8348 GB, free: 7.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/2.136, allocations: 10.91 kB / 0.8348 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/2.137, allocations: 70.5 kB / 0.8349 GB, free: 7.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/2.137, allocations: 23.55 kB / 0.8349 GB, free: 7.262 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001987/2.137, allocations: 184.4 kB / 0.8351 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/2.137, allocations: 59.31 kB / 0.8351 GB, free: 7.055 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007252/2.138, allocations: 0.6461 MB / 0.8357 GB, free: 6.613 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004559/2.138, allocations: 464.4 kB / 0.8362 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.138, allocations: 2.156 kB / 0.8362 GB, free: 6.297 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/2.138, allocations: 3.984 kB / 0.8362 GB, free: 6.293 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/2.14, allocations: 1.538 MB / 0.8377 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.14, allocations: 3.938 kB / 0.8377 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/2.14, allocations: 73.53 kB / 0.8378 GB, free: 5.004 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/2.14, allocations: 4 kB / 0.8378 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/2.14, allocations: 7.625 kB / 0.8378 GB, free: 4.996 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/2.14, allocations: 4 kB / 0.8378 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/2.14, allocations: 2.906 kB / 0.8378 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000602/2.141, allocations: 0.6982 MB / 0.8385 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/2.141, allocations: 181.5 kB / 0.8386 GB, free: 4.238 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/2.141, allocations: 17.11 kB / 0.8387 GB, free: 4.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/2.141, allocations: 7.5 kB / 0.8387 GB, free: 4.227 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/2.141, allocations: 39.77 kB / 0.8387 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/2.141, allocations: 11.62 kB / 0.8387 GB, free: 4.184 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003615/2.142, allocations: 343.5 kB / 0.839 GB, free: 3.926 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/2.142, allocations: 0 / 0.839 GB, free: 3.926 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003837/2.146, allocations: 1.498 MB / 0.8405 GB, free: 2.523 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.007755/2.153, allocations: 3.334 MB / 0.8438 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008137/2.154, allocations: 0.5669 MB / 0.8443 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/2.154, allocations: 0 / 0.8443 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/2.154, allocations: 234.3 kB / 0.8445 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/2.156, allocations: 292.5 kB / 0.8448 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00767/2.164, allocations: 5.467 MB / 0.8502 GB, free: 9.801 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/2.164, allocations: 0.9622 MB / 0.8511 GB, free: 8.812 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003826/2.165, allocations: 92.44 kB / 0.8512 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/2.165, allocations: 288.1 kB / 0.8515 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/2.165, allocations: 4 kB / 0.8515 GB, free: 8.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/2.642, allocations: 58.84 MB / 0.9089 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/2.643, allocations: 272.4 kB / 0.9092 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.287/7.93, allocations: 0 / 0.9092 GB, free: 13.83 MB / 0.7481 GB (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Fluid_Examples_SimpleExamples_TestFixedPowerHeatExchanger.fmu > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)