Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.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.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8336/0.8336, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 20.61 kB / 237.8 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04986/0.05021, allocations: 31.34 MB / 269.1 MB, free: 7.031 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.TestSensors): time 1.653/1.704, allocations: 296.5 MB / 0.5523 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5109/2.215, allocations: 194 MB / 0.7418 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/2.215, allocations: 11.34 kB / 0.7418 GB, free: 0.8477 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/Sensors/SensorH.mo:10:3-11:68: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/Sensors/SensorH.mo:12:3-13:66: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/Sensors/SensorQ.mo:10:3-11:68: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/Sensors/SensorQ.mo:12:3-13:66: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/Sensors/SensorQv.mo:29:3-30:68: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/Sensors/SensorQv.mo:31:3-32:66: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/Sensors/SensorP.mo:10:3-11:68: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/Sensors/SensorP.mo:12:3-13:66: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/Sensors/SensorT.mo:32:3-33:68: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/Sensors/SensorT.mo:34:3-35:66: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/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). [/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/PressureLosses/LumpedStraightPipe.mo:54:3-55: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/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 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.0002829/2.215, allocations: 104.4 kB / 0.7419 GB, free: 0.8477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005656/2.216, allocations: 278.8 kB / 0.7422 GB, free: 0.8398 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.03165/2.248, allocations: 13.12 MB / 0.755 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001304/2.249, allocations: 0.9425 MB / 0.7559 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/2.25, allocations: 0.579 MB / 0.7565 GB, free: 364 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/2.25, allocations: 401.4 kB / 0.7569 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/2.25, allocations: 459.6 kB / 0.7573 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/2.25, allocations: 97.72 kB / 0.7574 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03936/2.29, allocations: 22.26 MB / 0.7791 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/2.29, allocations: 211.7 kB / 0.7793 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006477/2.291, allocations: 497.8 kB / 0.7798 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02962/2.32, allocations: 11.84 MB / 0.7914 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/2.32, allocations: 0 / 0.7914 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.678e-06/2.32, allocations: 0 / 0.7914 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.808e-05/2.321, allocations: 3.312 kB / 0.7914 GB, free: 8.777 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.01235/2.333, allocations: 2.496 MB / 0.7938 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/2.333, allocations: 7.781 kB / 0.7938 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002647/2.333, allocations: 108.8 kB / 0.7939 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/2.334, allocations: 459.3 kB / 0.7944 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/2.334, allocations: 73.88 kB / 0.7944 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/2.335, allocations: 99.91 kB / 0.7945 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/2.337, allocations: 0.8753 MB / 0.7954 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/2.337, allocations: 2.438 kB / 0.7954 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.982e-05/2.337, allocations: 38.81 kB / 0.7954 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/2.337, allocations: 23.62 kB / 0.7955 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/2.338, allocations: 0.6019 MB / 0.796 GB, free: 6.422 MB / 0.6075 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.02391/2.362, allocations: 13.04 MB / 0.8088 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/2.362, allocations: 244 kB / 0.809 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/2.363, allocations: 52.84 kB / 0.8091 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6501/3.013, allocations: 218.7 MB / 1.023 GB, free: 456.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/3.013, allocations: 32.28 kB / 1.023 GB, free: 456.7 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.594e-06/3.013, allocations: 0 / 1.023 GB, free: 456.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001172/3.014, allocations: 386.8 kB / 1.023 GB, free: 456.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/3.014, allocations: 54.81 kB / 1.023 GB, free: 456.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006438/3.015, allocations: 487.2 kB / 1.024 GB, free: 456.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/3.015, allocations: 29.14 kB / 1.024 GB, free: 456.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/3.015, allocations: 436.4 kB / 1.024 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.683e-05/3.015, allocations: 57.98 kB / 1.024 GB, free: 456.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/3.015, allocations: 82.73 kB / 1.024 GB, free: 456.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001017/3.015, allocations: 355.4 kB / 1.024 GB, free: 455.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/3.015, allocations: 64.12 kB / 1.025 GB, free: 455.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/3.016, allocations: 158.1 kB / 1.025 GB, free: 455.7 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/3.016, allocations: 231.7 kB / 1.025 GB, free: 455.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/3.016, allocations: 0 / 1.025 GB, free: 455.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006389/3.017, allocations: 354.1 kB / 1.025 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/3.017, allocations: 10.11 kB / 1.025 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/3.017, allocations: 3.594 kB / 1.025 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008793/3.017, allocations: 121.8 kB / 1.025 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/3.018, allocations: 60.17 kB / 1.025 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/3.018, allocations: 0.5878 MB / 1.026 GB, free: 455 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/3.018, allocations: 50.5 kB / 1.026 GB, free: 455 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/3.018, allocations: 13.38 kB / 1.026 GB, free: 455 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 6 (sourceP.C.ftype,volumetricFlowSensor.fluid,temperatureSensor.fluid,puitsP.fluid,perteDP.fluid,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002798/3.019, allocations: 191.3 kB / 1.026 GB, free: 454.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.396e-05/3.019, allocations: 44.94 kB / 1.026 GB, free: 454.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006807/3.019, allocations: 286.3 kB / 1.027 GB, free: 454.8 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/3.019, allocations: 0 / 1.027 GB, free: 454.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/3.02, allocations: 0.875 kB / 1.027 GB, free: 454.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/3.02, allocations: 147 kB / 1.027 GB, free: 454.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/3.02, allocations: 6.938 kB / 1.027 GB, free: 454.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/3.02, allocations: 3.938 kB / 1.027 GB, free: 454.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/3.02, allocations: 13.17 kB / 1.027 GB, free: 454.6 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005159/3.02, allocations: 284 kB / 1.027 GB, free: 454.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003755/3.021, allocations: 418.7 kB / 1.027 GB, free: 454.3 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.005e-05/3.021, allocations: 50.22 kB / 1.027 GB, free: 454.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002935/3.021, allocations: 337.7 kB / 1.028 GB, free: 454.2 MB / 0.8419 GB Notification: Performance of Backend: time 7.62e-07/3.021, allocations: 0 / 1.028 GB, free: 454.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01608/3.037, allocations: 4.291 MB / 1.032 GB, free: 453.9 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001842/3.039, allocations: 1.551 MB / 1.033 GB, free: 452.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.08199/3.121, allocations: 82.18 MB / 1.114 GB, free: 389.4 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSensors.pipe 2>&1)