Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8014/0.8014, allocations: 150.8 MB / 166.6 MB, free: 11.16 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.0002563, allocations: 23.92 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 31.32 MB / 236 MB, free: 3.891 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.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 1.545/1.679, allocations: 293.5 MB / 0.5171 GB, free: 8.504 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03136/1.711, allocations: 25.93 MB / 0.5425 GB, free: 14.74 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004077/1.711, allocations: 4 kB / 0.5425 GB, free: 14.74 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:84:3-86:38:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:87:3-89:37:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:90:3-92:37:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0004459/1.712, allocations: 139.2 kB / 0.5426 GB, free: 14.6 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004642/1.712, allocations: 226.3 kB / 0.5428 GB, free: 14.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01431/1.726, allocations: 5.26 MB / 0.548 GB, free: 9.125 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/1.727, allocations: 0.9256 MB / 0.5489 GB, free: 8.195 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003327/1.728, allocations: 270.2 kB / 0.5491 GB, free: 7.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/1.728, allocations: 338.5 kB / 0.5494 GB, free: 7.598 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/1.728, allocations: 322.4 kB / 0.5498 GB, free: 7.281 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/1.729, allocations: 32 kB / 0.5498 GB, free: 7.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0245/1.753, allocations: 15.19 MB / 0.5646 GB, free: 8.043 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/1.753, allocations: 107.5 kB / 0.5647 GB, free: 7.938 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005159/1.754, allocations: 342.2 kB / 0.565 GB, free: 7.602 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/1.769, allocations: 6.931 MB / 0.5718 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.769, allocations: 0 / 0.5718 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.412e-06/1.769, allocations: 4 kB / 0.5718 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.632e-05/1.769, allocations: 0 / 0.5718 GB, free: 0.6523 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004457/1.774, allocations: 1.54 MB / 0.5733 GB, free: 15.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.774, allocations: 11.97 kB / 0.5733 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/1.774, allocations: 68.09 kB / 0.5734 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/1.774, allocations: 345.8 kB / 0.5737 GB, free: 14.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/1.775, allocations: 126.1 kB / 0.5738 GB, free: 14.47 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/1.775, allocations: 52 kB / 0.5739 GB, free: 14.42 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.776, allocations: 0.7757 MB / 0.5747 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/1.776, allocations: 7.938 kB / 0.5747 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.257e-05/1.776, allocations: 20 kB / 0.5747 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.554e-05/1.776, allocations: 35.97 kB / 0.5747 GB, free: 13.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/1.777, allocations: 0.5786 MB / 0.5753 GB, free: 12.96 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.07692/1.854, allocations: 36.42 MB / 0.6109 GB, free: 4.785 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.856, allocations: 0.5442 MB / 0.6114 GB, free: 4.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/1.856, allocations: 350.8 kB / 0.6117 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07567/1.932, allocations: 33.59 MB / 0.6445 GB, free: 15 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/1.932, allocations: 34.56 kB / 0.6446 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=126): time 2.705e-06/1.932, allocations: 0 / 0.6446 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=126): time 0.01752/1.949, allocations: 3.296 MB / 0.6478 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/1.95, allocations: 55.41 kB / 0.6478 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/1.95, allocations: 336.4 kB / 0.6481 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.394e-05/1.95, allocations: 33.7 kB / 0.6482 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.95, allocations: 229.2 kB / 0.6484 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/1.95, allocations: 409.7 kB / 0.6488 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.951, allocations: 134 kB / 0.6489 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.951, allocations: 374.8 kB / 0.6493 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/1.951, allocations: 273.6 kB / 0.6495 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/1.952, allocations: 393.2 kB / 0.6499 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.953, allocations: 0.7147 MB / 0.6506 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.953, allocations: 0 / 0.6506 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004136/1.957, allocations: 1.283 MB / 0.6519 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/1.957, allocations: 15.98 kB / 0.6519 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.957, allocations: 0 / 0.6519 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003596/1.961, allocations: 1.379 MB / 0.6532 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/1.961, allocations: 19.98 kB / 0.6532 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/1.963, allocations: 1.389 MB / 0.6546 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/1.964, allocations: 98.88 kB / 0.6547 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/1.964, allocations: 20 kB / 0.6547 GB, free: 4.379 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0002285/1.964, allocations: 181.5 kB / 0.6549 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/1.964, allocations: 55.23 kB / 0.6549 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/1.968, allocations: 3.951 MB / 0.6588 GB, free: 56 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002721/1.971, allocations: 1.298 MB / 0.6601 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.971, allocations: 0 / 0.6601 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/1.971, allocations: 3.984 kB / 0.6601 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006415/1.977, allocations: 2.935 MB / 0.6629 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.977, allocations: 0 / 0.6629 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/1.978, allocations: 95.84 kB / 0.663 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/1.981, allocations: 1.43 MB / 0.6644 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/1.981, allocations: 20 kB / 0.6644 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/1.983, allocations: 1.487 MB / 0.6659 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.983, allocations: 0 / 0.6659 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/1.989, allocations: 2.595 MB / 0.6684 GB, free: 6.023 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/1.989, allocations: 156 kB / 0.6686 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/1.989, allocations: 31.78 kB / 0.6686 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/1.989, allocations: 35.88 kB / 0.6686 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/1.989, allocations: 56.86 kB / 0.6687 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/1.989, allocations: 27.98 kB / 0.6687 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004204/1.99, allocations: 387.1 kB / 0.6691 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/1.99, allocations: 0 / 0.6691 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002833/1.993, allocations: 1.062 MB / 0.6701 GB, free: 4.262 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003853/1.997, allocations: 1.199 MB / 0.6713 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.002076/1.999, allocations: 1.139 MB / 0.6724 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.999, allocations: 0 / 0.6724 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/2, allocations: 0.5237 MB / 0.6729 GB, free: 1.355 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/2.002, allocations: 424.2 kB / 0.6733 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/2.005, allocations: 2.532 MB / 0.6758 GB, free: 14.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/2.006, allocations: 1.022 MB / 0.6768 GB, free: 13.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003267/2.006, allocations: 68.81 kB / 0.6769 GB, free: 13.25 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/2.006, allocations: 39.44 kB / 0.6769 GB, free: 13.21 MB / 0.573 GB Notification: Performance of SimCode: time 5.91e-07/2.006, allocations: 0 / 0.6769 GB, free: 13.21 MB / 0.573 GB Notification: Performance of Templates: time 0.2159/2.222, allocations: 48.95 MB / 0.7247 GB, free: 210.3 MB / 0.573 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1)