Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.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.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9631/0.9631, allocations: 150.9 MB / 167.2 MB, free: 14.55 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 20.52 kB / 237.8 MB, free: 1.793 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06108/0.06146, allocations: 31.35 MB / 269.1 MB, free: 7.059 MB / 222.1 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.TestDynamicOnePhaseFlowPipe): time 1.709/1.771, allocations: 295.8 MB / 0.5517 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5432/2.314, allocations: 195.6 MB / 0.7427 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/2.315, allocations: 12.75 kB / 0.7427 GB, free: 1.648 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicOnePhaseFlowPipe.mo:150:3-151:67:writable] Warning: Connector C1 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/DynamicOnePhaseFlowPipe.mo:152:3-153:65:writable] Warning: Connector C2 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.0005381/2.315, allocations: 115.9 kB / 0.7428 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001079/2.316, allocations: 421.7 kB / 0.7432 GB, free: 1.629 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.03862/2.355, allocations: 13.63 MB / 0.7565 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004246/2.359, allocations: 5.433 MB / 0.7619 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/2.362, allocations: 1.948 MB / 0.7638 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002223/2.364, allocations: 1.599 MB / 0.7653 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/2.367, allocations: 2.03 MB / 0.7673 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007287/2.367, allocations: 393.5 kB / 0.7677 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05167/2.419, allocations: 23.07 MB / 0.7902 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003607/2.423, allocations: 1.497 MB / 0.7917 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003966/2.427, allocations: 1.702 MB / 0.7933 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04011/2.467, allocations: 15.05 MB / 0.808 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/2.467, allocations: 0 / 0.808 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.073e-06/2.467, allocations: 0 / 0.808 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001132/2.467, allocations: 0.7812 kB / 0.808 GB, free: 13.58 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 666 * Number of variables: 666 Notification: Performance of Generate backend data structure: time 0.01811/2.485, allocations: 4.833 MB / 0.8128 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/2.485, allocations: 8.031 kB / 0.8128 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/2.486, allocations: 274.2 kB / 0.813 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002874/2.489, allocations: 1.352 MB / 0.8143 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005159/2.489, allocations: 0.4959 MB / 0.8148 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/2.49, allocations: 291.8 kB / 0.8151 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009202/2.499, allocations: 4.922 MB / 0.8199 GB, free: 1.152 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/2.499, allocations: 14.28 kB / 0.8199 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/2.5, allocations: 115.9 kB / 0.82 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.564e-05/2.5, allocations: 68 kB / 0.8201 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/2.519, allocations: 12.17 MB / 0.832 GB, free: 4.855 MB / 0.6387 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.04739/2.566, allocations: 29.15 MB / 0.8605 GB, free: 5.695 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/2.583, allocations: 4.503 MB / 0.8649 GB, free: 1.203 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004863/2.588, allocations: 2.268 MB / 0.8671 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7591/3.347, allocations: 286.3 MB / 1.147 GB, free: 316.1 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/3.347, allocations: 68.8 kB / 1.147 GB, free: 316 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=339): time 5.991e-06/3.347, allocations: 0 / 1.147 GB, free: 316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=339): time 0.01843/3.366, allocations: 9.217 MB / 1.156 GB, free: 308.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/3.366, allocations: 86.08 kB / 1.156 GB, free: 308.4 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/3.367, allocations: 1.077 MB / 1.157 GB, free: 307.6 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/3.367, allocations: 85.58 kB / 1.157 GB, free: 307.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/3.367, allocations: 0.7579 MB / 1.158 GB, free: 307 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006908/3.368, allocations: 1.221 MB / 1.159 GB, free: 306 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009373/3.369, allocations: 0.7526 MB / 1.16 GB, free: 305.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 3.414e-05/3.369, allocations: 301.1 kB / 1.16 GB, free: 305.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/3.372, allocations: 2.122 MB / 1.162 GB, free: 303.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/3.376, allocations: 2.899 MB / 1.165 GB, free: 300.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006802/3.383, allocations: 5.317 MB / 1.17 GB, free: 295.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/3.383, allocations: 4 kB / 1.17 GB, free: 295.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=478) (initialization): time 0.01011/3.393, allocations: 6.775 MB / 1.177 GB, free: 288.4 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/3.393, allocations: 12 kB / 1.177 GB, free: 288.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/3.393, allocations: 23.94 kB / 1.177 GB, free: 288.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02423/3.417, allocations: 6.594 MB / 1.183 GB, free: 281.9 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005251/3.422, allocations: 0.8784 MB / 1.184 GB, free: 281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007334/3.43, allocations: 5.106 MB / 1.189 GB, free: 275.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/3.433, allocations: 416 kB / 1.189 GB, free: 275.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/3.433, allocations: 195.9 kB / 1.19 GB, free: 275.3 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,dynamicOnePhaseFlowPipe.fluid,sinkP.fluid,sourceP.fluid1,dynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicOnePhaseFlowPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * 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 {(21,148)} Notification: Performance of prepare postOptimizeDAE: time 0.00141/3.435, allocations: 0.6877 MB / 1.19 GB, free: 274.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006442/3.435, allocations: 209.8 kB / 1.19 GB, free: 274.4 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/3.447, allocations: 6.396 MB / 1.197 GB, free: 268 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/3.447, allocations: 15.94 kB / 1.197 GB, free: 268 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/3.447, allocations: 0 / 1.197 GB, free: 268 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/3.449, allocations: 0.7793 MB / 1.197 GB, free: 267.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/3.449, allocations: 91.95 kB / 1.197 GB, free: 267.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001875/3.451, allocations: 123.9 kB / 1.198 GB, free: 267 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006207/3.452, allocations: 326.2 kB / 1.198 GB, free: 266.6 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01302/3.465, allocations: 5.862 MB / 1.204 GB, free: 260.8 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01014/3.475, allocations: 7.442 MB / 1.211 GB, free: 253.2 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002854/3.478, allocations: 2.27 MB / 1.213 GB, free: 251 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007195/3.478, allocations: 0.7133 MB / 1.214 GB, free: 250.2 MB / 0.8262 GB Notification: Performance of Backend: time 4.81e-07/3.478, allocations: 0 / 1.214 GB, free: 250.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01966/3.498, allocations: 7.871 MB / 1.222 GB, free: 243.3 MB / 0.8262 GB Notification: Performance of SimCode: time 0.006494/3.505, allocations: 6.5 MB / 1.228 GB, free: 237.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.1474/3.652, allocations: 140.2 MB / 1.365 GB, free: 97.92 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicOnePhaseFlowPipe.pipe 2>&1)