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.9131/0.9131, allocations: 150.8 MB / 166.6 MB, free: 11.17 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.000271, allocations: 15.98 kB / 204.7 MB, free: 6.16 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 31.32 MB / 236 MB, free: 3.883 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.Examples.SimpleExamples.TestCompressor): time 1.908/2.074, allocations: 292.8 MB / 0.5165 GB, free: 9.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.5439/2.618, allocations: 194.4 MB / 0.7063 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/2.618, allocations: 3.125 kB / 0.7063 GB, free: 1.031 MB / 0.5573 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.0004757/2.619, allocations: 151.9 kB / 0.7064 GB, free: 1 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/2.619, allocations: 154.2 kB / 0.7066 GB, free: 0.9414 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02953/2.648, allocations: 10.12 MB / 0.7165 GB, free: 15.39 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0009422/2.649, allocations: 0.6106 MB / 0.7171 GB, free: 15.24 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/2.65, allocations: 219 kB / 0.7173 GB, free: 15.21 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003438/2.65, allocations: 239.4 kB / 0.7175 GB, free: 15.18 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/2.65, allocations: 224.8 kB / 0.7177 GB, free: 15.18 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/2.65, allocations: 24.75 kB / 0.7178 GB, free: 15.18 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0434/2.694, allocations: 23.28 MB / 0.7405 GB, free: 8.57 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/2.694, allocations: 78.81 kB / 0.7406 GB, free: 8.555 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003849/2.694, allocations: 247.2 kB / 0.7408 GB, free: 8.543 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0291/2.724, allocations: 11.76 MB / 0.7523 GB, free: 3.715 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/2.724, allocations: 0 / 0.7523 GB, free: 3.715 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.615e-06/2.724, allocations: 0 / 0.7523 GB, free: 3.715 MB / 0.573 GB Notification: Performance of Transformations before backend: time 8.506e-06/2.724, allocations: 3.938 kB / 0.7523 GB, free: 3.711 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.006871/2.73, allocations: 2.107 MB / 0.7544 GB, free: 2.367 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/2.731, allocations: 9.812 kB / 0.7544 GB, free: 2.367 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/2.731, allocations: 52.75 kB / 0.7544 GB, free: 2.34 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/2.731, allocations: 306.6 kB / 0.7547 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/2.731, allocations: 32.55 kB / 0.7547 GB, free: 2.07 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.863e-05/2.731, allocations: 36.72 kB / 0.7548 GB, free: 2.066 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/2.732, allocations: 0.5178 MB / 0.7553 GB, free: 1.855 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/2.732, allocations: 6.875 kB / 0.7553 GB, free: 1.852 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.117e-05/2.732, allocations: 13.16 kB / 0.7553 GB, free: 1.852 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/2.732, allocations: 23.45 kB / 0.7553 GB, free: 1.848 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/2.732, allocations: 319.7 kB / 0.7556 GB, free: 1.809 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.002419/2.735, allocations: 2.732 MB / 0.7583 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/2.735, allocations: 283.8 kB / 0.7586 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/2.735, allocations: 151.6 kB / 0.7587 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2481/2.984, allocations: 125 MB / 0.8808 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/2.984, allocations: 34.5 kB / 0.8808 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 2.836e-06/2.984, allocations: 0 / 0.8808 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.002801/2.986, allocations: 1.004 MB / 0.8818 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/2.987, allocations: 51.41 kB / 0.8819 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/2.987, allocations: 361.5 kB / 0.8822 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/2.987, allocations: 25.7 kB / 0.8822 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/2.987, allocations: 207.7 kB / 0.8824 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/2.987, allocations: 210.6 kB / 0.8826 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/2.988, allocations: 90.78 kB / 0.8827 GB, free: 3.285 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001557/2.988, allocations: 354.7 kB / 0.8831 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/2.988, allocations: 120.6 kB / 0.8832 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/2.988, allocations: 210.4 kB / 0.8834 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005337/2.989, allocations: 374.3 kB / 0.8837 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.989, allocations: 0 / 0.8837 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001382/2.99, allocations: 0.5913 MB / 0.8843 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/2.99, allocations: 6.609 kB / 0.8843 GB, free: 1.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/2.99, allocations: 4 kB / 0.8843 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009749/2.991, allocations: 342.4 kB / 0.8846 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/2.992, allocations: 45 kB / 0.8847 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/2.993, allocations: 1.866 MB / 0.8865 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/2.993, allocations: 51.31 kB / 0.8866 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/2.993, allocations: 15.98 kB / 0.8866 GB, free: 15.17 MB / 0.7292 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.0002063/2.993, allocations: 166.8 kB / 0.8867 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.387e-05/2.994, allocations: 39.44 kB / 0.8868 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/2.995, allocations: 1.06 MB / 0.8878 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009661/2.996, allocations: 0.7641 MB / 0.8885 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/2.996, allocations: 1.203 kB / 0.8886 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/2.996, allocations: 7.922 kB / 0.8886 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/2.999, allocations: 1.873 MB / 0.8904 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/2.999, allocations: 13.81 kB / 0.8904 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/2.999, allocations: 99.81 kB / 0.8905 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000823/3, allocations: 366.3 kB / 0.8908 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/3, allocations: 12 kB / 0.8909 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001265/3.001, allocations: 1.91 MB / 0.8927 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/3.001, allocations: 0 / 0.8927 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/3.004, allocations: 1.91 MB / 0.8946 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/3.004, allocations: 185.1 kB / 0.8948 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/3.004, allocations: 15.94 kB / 0.8948 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/3.004, allocations: 19.89 kB / 0.8948 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.288e-05/3.004, allocations: 36.61 kB / 0.8948 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/3.004, allocations: 20 kB / 0.8949 GB, free: 6.434 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002521/3.005, allocations: 255.2 kB / 0.8951 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/3.005, allocations: 0 / 0.8951 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005904/3.011, allocations: 2.084 MB / 0.8971 GB, free: 4.102 MB / 0.7292 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.0126/3.023, allocations: 3.008 MB / 0.9001 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001695/3.025, allocations: 0.7285 MB / 0.9008 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/3.025, allocations: 0 / 0.9008 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008318/3.026, allocations: 370.4 kB / 0.9011 GB, free: 336 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/3.027, allocations: 265.7 kB / 0.9014 GB, free: 76 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/3.03, allocations: 1.961 MB / 0.9033 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/3.031, allocations: 0.9388 MB / 0.9042 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003499/3.031, allocations: 67.28 kB / 0.9043 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/3.031, allocations: 47.42 kB / 0.9043 GB, free: 13 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/3.031, allocations: 4 kB / 0.9043 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of Templates: time 0.2916/3.323, allocations: 71.74 MB / 0.9744 GB, free: 433.1 MB / 0.7917 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)