Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8091/0.8091, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002552, allocations: 15.97 kB / 204.7 MB, free: 6.145 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1512, allocations: 31.33 MB / 236 MB, free: 3.859 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.TestStaticPlateHeatExchanger): time 1.586/1.738, allocations: 294 MB / 0.5176 GB, free: 7.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4729/2.211, allocations: 189.6 MB / 0.7028 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/2.211, allocations: 13.75 kB / 0.7028 GB, free: 1.105 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticPlateHeatExchanger.mo:91:3-92: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/StaticPlateHeatExchanger.mo:93:3-94: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/StaticPlateHeatExchanger.mo:95:3-96:52: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/StaticPlateHeatExchanger.mo:97:3-98:51: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/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47: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.0004185/2.212, allocations: 135.7 kB / 0.703 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000554/2.212, allocations: 293.4 kB / 0.7032 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02324/2.235, allocations: 8.911 MB / 0.7119 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001599/2.237, allocations: 1.083 MB / 0.713 GB, free: 15.7 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005188/2.238, allocations: 443.1 kB / 0.7134 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/2.238, allocations: 422.6 kB / 0.7138 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/2.239, allocations: 431.1 kB / 0.7142 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/2.239, allocations: 53.94 kB / 0.7143 GB, free: 15.59 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03304/2.272, allocations: 19.42 MB / 0.7333 GB, free: 10.85 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/2.272, allocations: 172.4 kB / 0.7334 GB, free: 10.82 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005507/2.273, allocations: 459.4 kB / 0.7339 GB, free: 10.79 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02082/2.293, allocations: 10.3 MB / 0.7439 GB, free: 6.617 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/2.293, allocations: 2.562 kB / 0.7439 GB, free: 6.617 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.222e-06/2.293, allocations: 3.656 kB / 0.7439 GB, free: 6.617 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.199e-05/2.293, allocations: 0 / 0.7439 GB, free: 6.617 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.005251/2.299, allocations: 2.245 MB / 0.7461 GB, free: 5.246 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/2.299, allocations: 9.844 kB / 0.7461 GB, free: 5.246 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/2.299, allocations: 101.6 kB / 0.7462 GB, free: 5.195 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/2.299, allocations: 465 kB / 0.7467 GB, free: 4.844 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/2.3, allocations: 154.8 kB / 0.7468 GB, free: 4.738 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.851e-05/2.3, allocations: 71.34 kB / 0.7469 GB, free: 4.738 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/2.301, allocations: 0.929 MB / 0.7478 GB, free: 4.434 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/2.301, allocations: 3.984 kB / 0.7478 GB, free: 4.43 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/2.301, allocations: 35 kB / 0.7478 GB, free: 4.43 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/2.301, allocations: 34.72 kB / 0.7479 GB, free: 4.422 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/2.302, allocations: 0.6692 MB / 0.7485 GB, free: 4.312 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.0168/2.319, allocations: 12.81 MB / 0.761 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/2.32, allocations: 456.4 kB / 0.7615 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/2.321, allocations: 265.3 kB / 0.7617 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09113/2.412, allocations: 52.21 MB / 0.8127 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/2.412, allocations: 39.36 kB / 0.8127 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=88): time 2.645e-06/2.412, allocations: 0 / 0.8127 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88): time 0.01609/2.428, allocations: 3.027 MB / 0.8157 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/2.428, allocations: 55.41 kB / 0.8158 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/2.429, allocations: 0.4888 MB / 0.8162 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/2.429, allocations: 32.83 kB / 0.8163 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/2.429, allocations: 387.9 kB / 0.8166 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/2.429, allocations: 295 kB / 0.8169 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/2.429, allocations: 150 kB / 0.8171 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001457/2.43, allocations: 378.7 kB / 0.8174 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/2.43, allocations: 237.5 kB / 0.8176 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/2.431, allocations: 421.6 kB / 0.818 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/2.432, allocations: 0.7041 MB / 0.8187 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/2.432, allocations: 0 / 0.8187 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002679/2.435, allocations: 1.086 MB / 0.8198 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/2.435, allocations: 11.98 kB / 0.8198 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/2.435, allocations: 10.55 kB / 0.8198 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/2.438, allocations: 0.9489 MB / 0.8207 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/2.438, allocations: 67.91 kB / 0.8208 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/2.44, allocations: 1.398 MB / 0.8222 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/2.441, allocations: 102.9 kB / 0.8223 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.933e-05/2.441, allocations: 28 kB / 0.8223 GB, free: 5.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.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 (38): * Single equations (assignments): 37 * 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 {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0002827/2.441, allocations: 210.5 kB / 0.8225 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/2.441, allocations: 71 kB / 0.8226 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/2.444, allocations: 1.75 MB / 0.8243 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001948/2.446, allocations: 1.205 MB / 0.8255 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.446, allocations: 0 / 0.8255 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/2.446, allocations: 5.078 kB / 0.8255 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007022/2.453, allocations: 3.041 MB / 0.8284 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/2.453, allocations: 0 / 0.8284 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/2.453, allocations: 103.8 kB / 0.8285 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002953/2.456, allocations: 0.9891 MB / 0.8295 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/2.456, allocations: 27.98 kB / 0.8295 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/2.458, allocations: 1.488 MB / 0.831 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/2.458, allocations: 3.938 kB / 0.831 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006203/2.465, allocations: 2.766 MB / 0.8337 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/2.465, allocations: 231.6 kB / 0.8339 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/2.465, allocations: 19.98 kB / 0.8339 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/2.465, allocations: 37.02 kB / 0.834 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/2.466, allocations: 48.92 kB / 0.834 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/2.466, allocations: 27.98 kB / 0.834 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000386/2.466, allocations: 354.8 kB / 0.8344 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.21e-07/2.466, allocations: 0 / 0.8344 GB, free: 9.211 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003949/2.47, allocations: 1.647 MB / 0.836 GB, free: 7.562 MB / 0.6667 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 {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005924/2.476, allocations: 2.329 MB / 0.8382 GB, free: 5.531 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002105/2.478, allocations: 1.1 MB / 0.8393 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/2.478, allocations: 0 / 0.8393 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/2.479, allocations: 0.5136 MB / 0.8398 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/2.481, allocations: 385.9 kB / 0.8402 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/2.484, allocations: 2.838 MB / 0.843 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/2.485, allocations: 1.089 MB / 0.844 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003702/2.485, allocations: 101.5 kB / 0.8441 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.43e-05/2.485, allocations: 51.44 kB / 0.8442 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/2.485, allocations: 0 / 0.8442 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of Templates: time 0.07615/2.562, allocations: 61.61 MB / 0.9043 GB, free: 1.953 MB / 0.7292 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe 2>&1)