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.8108/0.8108, allocations: 150.9 MB / 166 MB, free: 14.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003106, allocations: 19.97 kB / 204 MB, free: 10.12 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1507, allocations: 31.33 MB / 235.4 MB, free: 5.469 MB / 190.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.593/1.743, allocations: 294.4 MB / 0.5173 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4772/2.221, allocations: 195.1 MB / 0.7079 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007039/2.221, allocations: 11.53 kB / 0.7079 GB, free: 3.727 MB / 0.5762 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.0004419/2.222, allocations: 76 kB / 0.708 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008001/2.223, allocations: 251.4 kB / 0.7082 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02828/2.251, allocations: 10.2 MB / 0.7182 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001148/2.252, allocations: 0.8949 MB / 0.719 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007514/2.253, allocations: 0.5498 MB / 0.7196 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006684/2.254, allocations: 370.5 kB / 0.7199 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/2.254, allocations: 436.8 kB / 0.7203 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/2.254, allocations: 77.25 kB / 0.7204 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04184/2.296, allocations: 22.43 MB / 0.7423 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003715/2.297, allocations: 191.3 kB / 0.7425 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000712/2.297, allocations: 471.4 kB / 0.7429 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03515/2.333, allocations: 12.08 MB / 0.7547 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/2.333, allocations: 0 / 0.7547 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/2.333, allocations: 0 / 0.7547 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.322e-05/2.333, allocations: 0 / 0.7547 GB, free: 14.22 MB / 0.5919 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.00648/2.339, allocations: 2.497 MB / 0.7572 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/2.339, allocations: 13.09 kB / 0.7572 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/2.339, allocations: 111.2 kB / 0.7573 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/2.34, allocations: 449.8 kB / 0.7577 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.757e-05/2.34, allocations: 72.78 kB / 0.7578 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.624e-05/2.34, allocations: 98.53 kB / 0.7579 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/2.341, allocations: 0.8655 MB / 0.7587 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/2.341, allocations: 0 / 0.7587 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/2.341, allocations: 47.61 kB / 0.7588 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/2.341, allocations: 26.56 kB / 0.7588 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008812/2.342, allocations: 0.5973 MB / 0.7594 GB, free: 11.99 MB / 0.5919 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.0164/2.359, allocations: 13.05 MB / 0.7721 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/2.359, allocations: 242.9 kB / 0.7724 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.93e-05/2.359, allocations: 60.03 kB / 0.7724 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5974/2.956, allocations: 217.4 MB / 0.9847 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/2.957, allocations: 34.62 kB / 0.9847 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 3.777e-06/2.957, allocations: 0 / 0.9847 GB, free: 453.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.001175/2.958, allocations: 389.4 kB / 0.9851 GB, free: 453.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/2.958, allocations: 54.75 kB / 0.9851 GB, free: 453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000547/2.958, allocations: 486.3 kB / 0.9856 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/2.958, allocations: 29.52 kB / 0.9856 GB, free: 452.9 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/2.959, allocations: 433.4 kB / 0.986 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/2.959, allocations: 57 kB / 0.9861 GB, free: 452.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/2.959, allocations: 82.95 kB / 0.9862 GB, free: 452.6 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/2.959, allocations: 350.7 kB / 0.9865 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/2.959, allocations: 73.05 kB / 0.9866 GB, free: 452.3 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/2.959, allocations: 155.8 kB / 0.9867 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/2.959, allocations: 236.7 kB / 0.9869 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/2.959, allocations: 0 / 0.9869 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005887/2.96, allocations: 360.2 kB / 0.9873 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/2.96, allocations: 8.688 kB / 0.9873 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/2.96, allocations: 3.75 kB / 0.9873 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008383/2.961, allocations: 121.4 kB / 0.9874 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/2.961, allocations: 55.62 kB / 0.9875 GB, free: 452 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003516/2.961, allocations: 0.5775 MB / 0.988 GB, free: 451.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/2.962, allocations: 52.81 kB / 0.9881 GB, free: 451.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/2.962, allocations: 16.92 kB / 0.9881 GB, free: 451.5 MB / 0.8106 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.0002142/2.962, allocations: 188.8 kB / 0.9883 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/2.962, allocations: 50.06 kB / 0.9883 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/2.963, allocations: 295.1 kB / 0.9886 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/2.963, allocations: 2.969 kB / 0.9886 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/2.963, allocations: 0 / 0.9886 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/2.963, allocations: 1.547 kB / 0.9886 GB, free: 451.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/2.964, allocations: 0.9484 MB / 0.9895 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/2.964, allocations: 3.938 kB / 0.9895 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-05/2.964, allocations: 29.98 kB / 0.9896 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005814/2.965, allocations: 100.8 kB / 0.9897 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/2.965, allocations: 5.703 kB / 0.9897 GB, free: 450.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003017/2.965, allocations: 0.5779 MB / 0.9902 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/2.965, allocations: 0 / 0.9902 GB, free: 450.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005689/2.966, allocations: 352.6 kB / 0.9906 GB, free: 450.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/2.966, allocations: 146.9 kB / 0.9907 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.271e-05/2.966, allocations: 8.766 kB / 0.9907 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/2.966, allocations: 7.156 kB / 0.9907 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/2.966, allocations: 10.34 kB / 0.9907 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/2.966, allocations: 2.781 kB / 0.9907 GB, free: 450.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002928/2.966, allocations: 333 kB / 0.9911 GB, free: 450 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.2e-07/2.966, allocations: 0 / 0.9911 GB, free: 450 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005323/2.972, allocations: 1.906 MB / 0.9929 GB, free: 449.9 MB / 0.8106 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.01006/2.982, allocations: 2.933 MB / 0.9958 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005961/2.982, allocations: 187.6 kB / 0.996 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/2.982, allocations: 0.6875 kB / 0.996 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/2.983, allocations: 81.58 kB / 0.996 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006592/2.983, allocations: 89.53 kB / 0.9961 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/2.985, allocations: 1.341 MB / 0.9974 GB, free: 448.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/2.985, allocations: 0.9054 MB / 0.9983 GB, free: 448 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000248/2.986, allocations: 77.61 kB / 0.9984 GB, free: 448 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/2.986, allocations: 39.06 kB / 0.9984 GB, free: 448 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/2.986, allocations: 0 / 0.9984 GB, free: 448 MB / 0.8106 GB Notification: Performance of Templates: time 0.05771/3.044, allocations: 54.55 MB / 1.052 GB, free: 408.5 MB / 0.8106 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)