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: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7816/0.7816, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002693/0.0002697, allocations: 15.98 kB / 204.7 MB, free: 6.156 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1356, allocations: 31.32 MB / 236 MB, free: 3.875 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger): time 1.496/1.632, allocations: 293.3 MB / 0.517 GB, free: 8.637 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4719/2.103, allocations: 187 MB / 0.6996 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/2.104, allocations: 14.53 kB / 0.6996 GB, free: 1.582 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36:54:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:37:3-38:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:39:3-40:51:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:41:3-42:52:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004285/2.104, allocations: 119.4 kB / 0.6997 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/2.105, allocations: 219.3 kB / 0.6999 GB, free: 1.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02067/2.125, allocations: 8.378 MB / 0.7081 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009038/2.126, allocations: 0.7938 MB / 0.7089 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/2.127, allocations: 364.8 kB / 0.7092 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/2.127, allocations: 318.6 kB / 0.7096 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/2.127, allocations: 322.7 kB / 0.7099 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/2.127, allocations: 45.69 kB / 0.7099 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03017/2.158, allocations: 19.52 MB / 0.729 GB, free: 13.98 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/2.158, allocations: 137 kB / 0.7291 GB, free: 13.96 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/2.158, allocations: 367.5 kB / 0.7295 GB, free: 13.94 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02058/2.179, allocations: 10 MB / 0.7392 GB, free: 9.871 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/2.179, allocations: 0 / 0.7392 GB, free: 9.871 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.843e-06/2.179, allocations: 0 / 0.7392 GB, free: 9.871 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.288e-06/2.179, allocations: 0 / 0.7392 GB, free: 9.871 MB / 0.573 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.004481/2.183, allocations: 2.02 MB / 0.7412 GB, free: 8.605 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/2.184, allocations: 16.91 kB / 0.7412 GB, free: 8.602 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/2.184, allocations: 86 kB / 0.7413 GB, free: 8.559 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004994/2.184, allocations: 407.4 kB / 0.7417 GB, free: 8.242 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/2.184, allocations: 49.69 kB / 0.7417 GB, free: 8.242 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/2.184, allocations: 71 kB / 0.7418 GB, free: 8.234 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/2.185, allocations: 0.7042 MB / 0.7425 GB, free: 7.977 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/2.185, allocations: 3.938 kB / 0.7425 GB, free: 7.973 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/2.185, allocations: 28 kB / 0.7425 GB, free: 7.973 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/2.185, allocations: 26.45 kB / 0.7425 GB, free: 7.969 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/2.186, allocations: 433.9 kB / 0.743 GB, free: 7.91 MB / 0.573 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.01579/2.202, allocations: 11.95 MB / 0.7546 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/2.202, allocations: 129.3 kB / 0.7548 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/2.202, allocations: 101.5 kB / 0.7548 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.164/2.366, allocations: 76.94 MB / 0.83 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/2.366, allocations: 38.12 kB / 0.83 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 2.294e-06/2.366, allocations: 0 / 0.83 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.0007221/2.367, allocations: 329.7 kB / 0.8303 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/2.367, allocations: 77.11 kB / 0.8304 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/2.368, allocations: 0.4899 MB / 0.8309 GB, free: 10.69 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/2.368, allocations: 32.77 kB / 0.8309 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/2.368, allocations: 353.8 kB / 0.8313 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/2.368, allocations: 157.1 kB / 0.8314 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/2.368, allocations: 100.6 kB / 0.8315 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001434/2.368, allocations: 366.3 kB / 0.8319 GB, free: 9.824 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/2.368, allocations: 101.9 kB / 0.832 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/2.369, allocations: 282.2 kB / 0.8322 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/2.369, allocations: 424.2 kB / 0.8326 GB, free: 9.082 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/2.369, allocations: 4 kB / 0.8326 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007116/2.37, allocations: 461.8 kB / 0.8331 GB, free: 8.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/2.37, allocations: 8.125 kB / 0.8331 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/2.37, allocations: 11.56 kB / 0.8331 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/2.37, allocations: 8 kB / 0.8331 GB, free: 8.707 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/2.37, allocations: 71.59 kB / 0.8332 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/2.37, allocations: 15.92 kB / 0.8332 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/2.371, allocations: 66.31 kB / 0.8332 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/2.371, allocations: 24.83 kB / 0.8333 GB, free: 8.543 MB / 0.6667 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.0002171/2.371, allocations: 197.2 kB / 0.8335 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.621e-05/2.371, allocations: 59.25 kB / 0.8335 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007798/2.372, allocations: 0.6383 MB / 0.8341 GB, free: 7.746 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005296/2.372, allocations: 452.8 kB / 0.8346 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/2.372, allocations: 0 / 0.8346 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/2.372, allocations: 0 / 0.8346 GB, free: 7.297 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/2.374, allocations: 1.566 MB / 0.8361 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/2.374, allocations: 0 / 0.8361 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/2.374, allocations: 71.86 kB / 0.8362 GB, free: 5.605 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/2.374, allocations: 7.984 kB / 0.8362 GB, free: 5.598 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/2.374, allocations: 12 kB / 0.8362 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/2.374, allocations: 0 / 0.8362 GB, free: 5.586 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/2.374, allocations: 4 kB / 0.8362 GB, free: 5.582 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/2.376, allocations: 1.597 MB / 0.8377 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/2.376, allocations: 184 kB / 0.8379 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/2.376, allocations: 8 kB / 0.8379 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/2.376, allocations: 16 kB / 0.8379 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/2.377, allocations: 29 kB / 0.838 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/2.377, allocations: 16 kB / 0.838 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003652/2.377, allocations: 342.8 kB / 0.8383 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/2.377, allocations: 0 / 0.8383 GB, free: 3.316 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003874/2.381, allocations: 1.549 MB / 0.8398 GB, free: 1.766 MB / 0.6667 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.00684/2.388, allocations: 2.222 MB / 0.842 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007785/2.388, allocations: 0.5702 MB / 0.8426 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/2.388, allocations: 0 / 0.8426 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002612/2.389, allocations: 224.3 kB / 0.8428 GB, free: 15.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/2.39, allocations: 295.1 kB / 0.8431 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/2.393, allocations: 1.993 MB / 0.845 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/2.393, allocations: 0.9816 MB / 0.846 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003739/2.393, allocations: 101.4 kB / 0.8461 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/2.394, allocations: 55.42 kB / 0.8461 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/2.394, allocations: 0 / 0.8461 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of Templates: time 0.06629/2.46, allocations: 51.06 MB / 0.896 GB, free: 8.594 MB / 0.7292 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile (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 & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)