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.9078/0.9078, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002672, allocations: 15.98 kB / 204.7 MB, free: 6.152 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1877, allocations: 31.32 MB / 236 MB, free: 3.895 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.TestSensors): time 1.641/1.829, allocations: 293.7 MB / 0.5173 GB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.4718/2.301, allocations: 195.1 MB / 0.7078 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/2.301, allocations: 11.5 kB / 0.7079 GB, free: 1.688 MB / 0.5573 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.0003745/2.302, allocations: 77.44 kB / 0.7079 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007865/2.302, allocations: 238 kB / 0.7082 GB, free: 1.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02748/2.33, allocations: 10.22 MB / 0.7181 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001102/2.331, allocations: 0.9081 MB / 0.719 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006606/2.332, allocations: 0.5497 MB / 0.7196 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006369/2.332, allocations: 368.4 kB / 0.7199 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006404/2.333, allocations: 436.9 kB / 0.7203 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/2.333, allocations: 77.22 kB / 0.7204 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04146/2.375, allocations: 22.5 MB / 0.7424 GB, free: 12.67 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/2.375, allocations: 192.2 kB / 0.7426 GB, free: 12.64 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009016/2.376, allocations: 475.8 kB / 0.743 GB, free: 12.61 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02809/2.404, allocations: 12.04 MB / 0.7548 GB, free: 7.973 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.404, allocations: 0 / 0.7548 GB, free: 7.973 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.262e-06/2.404, allocations: 0 / 0.7548 GB, free: 7.973 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.449e-05/2.404, allocations: 0 / 0.7548 GB, free: 7.973 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.006553/2.411, allocations: 2.497 MB / 0.7572 GB, free: 6.078 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/2.411, allocations: 9.234 kB / 0.7572 GB, free: 6.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/2.411, allocations: 114.8 kB / 0.7573 GB, free: 5.957 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005852/2.412, allocations: 441.5 kB / 0.7577 GB, free: 5.562 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-05/2.412, allocations: 72.75 kB / 0.7578 GB, free: 5.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.884e-05/2.412, allocations: 102.1 kB / 0.7579 GB, free: 5.453 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/2.413, allocations: 0.8649 MB / 0.7588 GB, free: 4.672 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/2.413, allocations: 0 / 0.7588 GB, free: 4.672 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/2.413, allocations: 48 kB / 0.7588 GB, free: 4.625 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/2.413, allocations: 24 kB / 0.7588 GB, free: 4.602 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/2.414, allocations: 0.6024 MB / 0.7594 GB, free: 3.996 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.01769/2.432, allocations: 13.05 MB / 0.7722 GB, free: 5.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/2.432, allocations: 239.8 kB / 0.7724 GB, free: 5.008 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/2.432, allocations: 56.84 kB / 0.7724 GB, free: 4.949 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6324/3.065, allocations: 217.3 MB / 0.9847 GB, free: 421.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/3.065, allocations: 33.94 kB / 0.9847 GB, free: 421 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/3.065, allocations: 2 kB / 0.9847 GB, free: 421 MB / 0.7917 GB Notification: Performance of matching and sorting (n=16): time 0.001143/3.066, allocations: 380.3 kB / 0.9851 GB, free: 420.9 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/3.066, allocations: 53.5 kB / 0.9851 GB, free: 420.8 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006182/3.067, allocations: 491.6 kB / 0.9856 GB, free: 420.7 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/3.067, allocations: 25.7 kB / 0.9856 GB, free: 420.7 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/3.067, allocations: 441 kB / 0.9861 GB, free: 420.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/3.067, allocations: 57.78 kB / 0.9861 GB, free: 420.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/3.067, allocations: 80.92 kB / 0.9862 GB, free: 420.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.639e-05/3.067, allocations: 353.1 kB / 0.9865 GB, free: 420.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/3.067, allocations: 67.3 kB / 0.9866 GB, free: 420.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/3.068, allocations: 167.8 kB / 0.9868 GB, free: 420.1 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/3.068, allocations: 230.1 kB / 0.987 GB, free: 420 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/3.068, allocations: 0 / 0.987 GB, free: 420 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006295/3.069, allocations: 351.4 kB / 0.9873 GB, free: 419.9 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/3.069, allocations: 6 kB / 0.9873 GB, free: 419.9 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/3.069, allocations: 7.562 kB / 0.9873 GB, free: 419.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/3.069, allocations: 119.6 kB / 0.9874 GB, free: 419.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/3.07, allocations: 56.02 kB / 0.9875 GB, free: 419.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004/3.07, allocations: 0.5879 MB / 0.9881 GB, free: 419.4 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/3.07, allocations: 46.38 kB / 0.9881 GB, free: 419.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/3.07, allocations: 13.62 kB / 0.9881 GB, free: 419.3 MB / 0.7917 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.0002956/3.071, allocations: 195.7 kB / 0.9883 GB, free: 419.2 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.967e-05/3.071, allocations: 50.33 kB / 0.9884 GB, free: 419.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006887/3.071, allocations: 282.4 kB / 0.9886 GB, free: 419.1 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/3.071, allocations: 2.938 kB / 0.9886 GB, free: 419.1 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/3.071, allocations: 0 / 0.9886 GB, free: 419.1 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/3.071, allocations: 2.766 kB / 0.9886 GB, free: 419.1 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/3.073, allocations: 0.9532 MB / 0.9896 GB, free: 418.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/3.073, allocations: 0 / 0.9896 GB, free: 418.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/3.073, allocations: 24.81 kB / 0.9896 GB, free: 418.7 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005846/3.074, allocations: 107.1 kB / 0.9897 GB, free: 418.7 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/3.074, allocations: 7.562 kB / 0.9897 GB, free: 418.7 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002956/3.074, allocations: 0.5785 MB / 0.9903 GB, free: 418.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/3.074, allocations: 0 / 0.9903 GB, free: 418.2 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/3.075, allocations: 1.134 MB / 0.9914 GB, free: 417.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/3.075, allocations: 137.2 kB / 0.9915 GB, free: 417.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/3.075, allocations: 1.562 kB / 0.9915 GB, free: 417.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/3.075, allocations: 9.062 kB / 0.9915 GB, free: 417.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/3.075, allocations: 13.09 kB / 0.9915 GB, free: 417.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/3.075, allocations: 8.875 kB / 0.9915 GB, free: 417.3 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003335/3.076, allocations: 333.6 kB / 0.9918 GB, free: 417.2 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/3.076, allocations: 0 / 0.9918 GB, free: 417.2 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004809/3.081, allocations: 1.986 MB / 0.9938 GB, free: 417.1 MB / 0.7917 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 (13): * Single equations (assignments): 12 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009112/3.09, allocations: 2.924 MB / 0.9966 GB, free: 416.8 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0005331/3.09, allocations: 202.9 kB / 0.9968 GB, free: 416.8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/3.09, allocations: 0 / 0.9968 GB, free: 416.8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/3.091, allocations: 77.56 kB / 0.9969 GB, free: 416.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/3.091, allocations: 97.02 kB / 0.997 GB, free: 416.8 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/3.093, allocations: 1.488 MB / 0.9985 GB, free: 415.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/3.093, allocations: 0.9102 MB / 0.9993 GB, free: 415.1 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002473/3.094, allocations: 77.84 kB / 0.9994 GB, free: 415.1 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.923e-05/3.094, allocations: 41.59 kB / 0.9995 GB, free: 415.1 MB / 0.7917 GB Notification: Performance of SimCode: time 3.3e-07/3.094, allocations: 0 / 0.9995 GB, free: 415.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.06017/3.154, allocations: 54.7 MB / 1.053 GB, free: 371.6 MB / 0.7917 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)