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.8832/0.8832, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 14.89 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05431/0.0547, allocations: 31.34 MB / 269.1 MB, free: 7.055 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.719/1.774, allocations: 296.6 MB / 0.5524 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5491/2.323, allocations: 194 MB / 0.7419 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/2.324, allocations: 11.34 kB / 0.7419 GB, free: 0.8555 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.000267/2.324, allocations: 106.4 kB / 0.742 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005887/2.324, allocations: 284.4 kB / 0.7423 GB, free: 0.8477 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.03577/2.36, allocations: 13.37 MB / 0.7553 GB, free: 488 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001142/2.361, allocations: 0.9331 MB / 0.7562 GB, free: 488 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/2.362, allocations: 0.5877 MB / 0.7568 GB, free: 384 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/2.362, allocations: 396.8 kB / 0.7572 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/2.363, allocations: 448.3 kB / 0.7576 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.048e-05/2.363, allocations: 99.88 kB / 0.7577 GB, free: 380 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0432/2.406, allocations: 22.3 MB / 0.7795 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/2.406, allocations: 217.2 kB / 0.7797 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008314/2.407, allocations: 492.9 kB / 0.7802 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02952/2.437, allocations: 11.84 MB / 0.7917 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.437, allocations: 0.625 kB / 0.7917 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/2.437, allocations: 0 / 0.7917 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.118e-05/2.437, allocations: 0 / 0.7917 GB, free: 8.926 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.007484/2.444, allocations: 2.499 MB / 0.7942 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/2.444, allocations: 8.875 kB / 0.7942 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/2.445, allocations: 105.5 kB / 0.7943 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006614/2.445, allocations: 463.6 kB / 0.7947 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/2.445, allocations: 76.69 kB / 0.7948 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/2.445, allocations: 101.7 kB / 0.7949 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/2.447, allocations: 0.866 MB / 0.7957 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/2.447, allocations: 0 / 0.7957 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.902e-05/2.447, allocations: 41.09 kB / 0.7958 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/2.447, allocations: 26.94 kB / 0.7958 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/2.448, allocations: 0.597 MB / 0.7964 GB, free: 6.371 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.01957/2.468, allocations: 13.05 MB / 0.8091 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003696/2.468, allocations: 234 kB / 0.8093 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/2.468, allocations: 55 kB / 0.8094 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7275/3.196, allocations: 218.7 MB / 1.023 GB, free: 457.4 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/3.196, allocations: 33.5 kB / 1.023 GB, free: 457.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 3.507e-06/3.196, allocations: 0 / 1.023 GB, free: 457.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.001265/3.197, allocations: 386.1 kB / 1.023 GB, free: 457.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/3.197, allocations: 51.41 kB / 1.023 GB, free: 457.1 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/3.198, allocations: 487.6 kB / 1.024 GB, free: 457 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/3.198, allocations: 31.86 kB / 1.024 GB, free: 457 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/3.198, allocations: 430.7 kB / 1.024 GB, free: 456.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/3.198, allocations: 59.03 kB / 1.024 GB, free: 456.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.671e-05/3.198, allocations: 84.25 kB / 1.024 GB, free: 456.8 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/3.198, allocations: 356.4 kB / 1.025 GB, free: 456.4 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/3.198, allocations: 62.92 kB / 1.025 GB, free: 456.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/3.198, allocations: 165.8 kB / 1.025 GB, free: 456.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/3.199, allocations: 226.5 kB / 1.025 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/3.199, allocations: 2.219 kB / 1.025 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005846/3.199, allocations: 355.8 kB / 1.026 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/3.199, allocations: 6.375 kB / 1.026 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/3.199, allocations: 3.812 kB / 1.026 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008296/3.2, allocations: 124.7 kB / 1.026 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/3.2, allocations: 60.62 kB / 1.026 GB, free: 456.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000367/3.201, allocations: 0.5823 MB / 1.026 GB, free: 455.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/3.201, allocations: 55.88 kB / 1.026 GB, free: 455.6 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.05e-05/3.201, allocations: 13.84 kB / 1.026 GB, free: 455.6 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.0002515/3.201, allocations: 183.2 kB / 1.027 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/3.201, allocations: 48.53 kB / 1.027 GB, free: 455.5 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000666/3.202, allocations: 290.9 kB / 1.027 GB, free: 455.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/3.202, allocations: 0.5156 kB / 1.027 GB, free: 455.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/3.202, allocations: 0 / 1.027 GB, free: 455.4 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/3.202, allocations: 141.7 kB / 1.027 GB, free: 455.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/3.202, allocations: 8.25 kB / 1.027 GB, free: 455.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/3.202, allocations: 6.844 kB / 1.027 GB, free: 455.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/3.202, allocations: 13.31 kB / 1.027 GB, free: 455.3 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005095/3.203, allocations: 278.9 kB / 1.027 GB, free: 455.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000385/3.203, allocations: 420.7 kB / 1.028 GB, free: 454.9 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.09e-05/3.203, allocations: 49.53 kB / 1.028 GB, free: 454.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003335/3.204, allocations: 331.8 kB / 1.028 GB, free: 454.8 MB / 0.8419 GB Notification: Performance of Backend: time 5.41e-07/3.204, allocations: 4 kB / 1.028 GB, free: 454.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01758/3.221, allocations: 4.295 MB / 1.032 GB, free: 454.5 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002047/3.224, allocations: 1.557 MB / 1.034 GB, free: 453.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.08451/3.308, allocations: 82.18 MB / 1.114 GB, free: 389.5 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)