Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.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.Examples.SimpleExamples.TestCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8521/0.8521, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002884, allocations: 19.98 kB / 204 MB, free: 10.13 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 31.32 MB / 235.3 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.Examples.SimpleExamples.TestCompressor): time 1.559/1.712, allocations: 293.5 MB / 0.5165 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4595/2.171, allocations: 194.4 MB / 0.7063 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003667/2.172, allocations: 2.875 kB / 0.7063 GB, free: 3.723 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/Compressor.mo:19:3-21:16:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/Compressor.mo:22:3-23:52:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/Sink.mo:17:3-19:16:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourcePQ.mo:29:3-30:52:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:49:3-50:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005331/2.172, allocations: 153.9 kB / 0.7065 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003004/2.173, allocations: 150.5 kB / 0.7066 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0275/2.2, allocations: 10.11 MB / 0.7165 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007351/2.201, allocations: 0.6068 MB / 0.7171 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000248/2.201, allocations: 216.6 kB / 0.7173 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/2.202, allocations: 232.9 kB / 0.7175 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/2.202, allocations: 223.7 kB / 0.7177 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/2.202, allocations: 26.44 kB / 0.7178 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03661/2.238, allocations: 23.29 MB / 0.7405 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001749/2.239, allocations: 76.5 kB / 0.7406 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004761/2.239, allocations: 242.7 kB / 0.7408 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02735/2.267, allocations: 11.86 MB / 0.7524 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/2.267, allocations: 0 / 0.7524 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.555e-06/2.267, allocations: 0 / 0.7524 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.186e-06/2.267, allocations: 0 / 0.7524 GB, free: 14.14 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.006124/2.273, allocations: 2.114 MB / 0.7545 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/2.273, allocations: 10.16 kB / 0.7545 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/2.273, allocations: 52.97 kB / 0.7545 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/2.273, allocations: 307.1 kB / 0.7548 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/2.273, allocations: 32.28 kB / 0.7548 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.322e-05/2.273, allocations: 38.22 kB / 0.7549 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006383/2.274, allocations: 0.5145 MB / 0.7554 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/2.274, allocations: 0 / 0.7554 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/2.274, allocations: 15.12 kB / 0.7554 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/2.274, allocations: 25.64 kB / 0.7554 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004296/2.275, allocations: 322.5 kB / 0.7557 GB, free: 12.27 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.002347/2.277, allocations: 2.729 MB / 0.7584 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/2.277, allocations: 275.8 kB / 0.7587 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/2.278, allocations: 166.4 kB / 0.7588 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2201/2.498, allocations: 125 MB / 0.8809 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/2.498, allocations: 30.56 kB / 0.8809 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 2.775e-06/2.498, allocations: 0 / 0.8809 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.002685/2.5, allocations: 1.002 MB / 0.8819 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/2.501, allocations: 51.41 kB / 0.882 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/2.501, allocations: 355.5 kB / 0.8823 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/2.501, allocations: 28.95 kB / 0.8823 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/2.501, allocations: 213.2 kB / 0.8825 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/2.501, allocations: 215.6 kB / 0.8827 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/2.501, allocations: 89.39 kB / 0.8828 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001221/2.502, allocations: 356.3 kB / 0.8832 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/2.502, allocations: 109.6 kB / 0.8833 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/2.502, allocations: 215.7 kB / 0.8835 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004978/2.503, allocations: 372.7 kB / 0.8838 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/2.503, allocations: 0 / 0.8838 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001264/2.504, allocations: 0.5882 MB / 0.8844 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/2.504, allocations: 5.562 kB / 0.8844 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/2.504, allocations: 10.97 kB / 0.8844 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009444/2.505, allocations: 342.1 kB / 0.8847 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/2.505, allocations: 43.73 kB / 0.8848 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/2.506, allocations: 1.856 MB / 0.8866 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/2.507, allocations: 54.92 kB / 0.8867 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/2.507, allocations: 15.38 kB / 0.8867 GB, free: 15.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP.C.b,puitsP.C.a,compressor.C2.b,compressor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001805/2.507, allocations: 157.4 kB / 0.8868 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.522e-05/2.507, allocations: 46.75 kB / 0.8869 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/2.508, allocations: 1.066 MB / 0.8879 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000934/2.509, allocations: 0.7687 MB / 0.8887 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.509, allocations: 0 / 0.8887 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/2.509, allocations: 9.703 kB / 0.8887 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/2.512, allocations: 1.872 MB / 0.8905 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/2.512, allocations: 5.094 kB / 0.8905 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/2.512, allocations: 97.08 kB / 0.8906 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008316/2.513, allocations: 374.8 kB / 0.8909 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/2.513, allocations: 17.06 kB / 0.891 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/2.514, allocations: 1.902 MB / 0.8928 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/2.514, allocations: 4.188 kB / 0.8928 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/2.516, allocations: 0.9212 MB / 0.8937 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/2.516, allocations: 184 kB / 0.8939 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/2.516, allocations: 16 kB / 0.8939 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002571/2.516, allocations: 15.98 kB / 0.8939 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.55e-05/2.516, allocations: 45.64 kB / 0.894 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/2.516, allocations: 16 kB / 0.894 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00025/2.517, allocations: 251.2 kB / 0.8942 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/2.517, allocations: 0 / 0.8942 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005264/2.522, allocations: 2.014 MB / 0.8962 GB, free: 6.891 MB / 0.7325 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 (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01057/2.533, allocations: 3.002 MB / 0.8991 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001316/2.534, allocations: 0.7333 MB / 0.8998 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/2.534, allocations: 0 / 0.8998 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006829/2.535, allocations: 369.6 kB / 0.9002 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/2.536, allocations: 260.1 kB / 0.9004 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/2.538, allocations: 1.442 MB / 0.9019 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/2.538, allocations: 0.9231 MB / 0.9028 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000285/2.539, allocations: 63.28 kB / 0.9028 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.613e-05/2.539, allocations: 48.62 kB / 0.9029 GB, free: 400 kB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/2.539, allocations: 0 / 0.9029 GB, free: 400 kB / 0.7325 GB Notification: Performance of Templates: time 0.09498/2.634, allocations: 71.32 MB / 0.9725 GB, free: 9.234 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.pipe 2>&1)