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.8917/0.8917, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.022e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2179, allocations: 31.98 MB / 236.8 MB, free: 5.422 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestCompressor): time 1.87/2.088, allocations: 294.5 MB / 0.5188 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6606/2.749, allocations: 192.1 MB / 0.7064 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000558/2.75, allocations: 3.781 kB / 0.7064 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006105/2.75, allocations: 150.6 kB / 0.7065 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004645/2.751, allocations: 150.5 kB / 0.7066 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03822/2.789, allocations: 10.35 MB / 0.7168 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009314/2.79, allocations: 0.6013 MB / 0.7173 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/2.79, allocations: 194.2 kB / 0.7175 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005197/2.791, allocations: 219.8 kB / 0.7177 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003671/2.791, allocations: 201.8 kB / 0.7179 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/2.791, allocations: 15.69 kB / 0.7179 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05589/2.847, allocations: 23.4 MB / 0.7408 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002424/2.847, allocations: 69.56 kB / 0.7409 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000619/2.848, allocations: 258.6 kB / 0.7411 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.04267/2.891, allocations: 11.63 MB / 0.7525 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/2.891, allocations: 5.391 kB / 0.7525 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.888e-06/2.891, allocations: 4 kB / 0.7525 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.027e-05/2.891, allocations: 0 / 0.7525 GB, free: 13.25 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.008416/2.899, allocations: 2.026 MB / 0.7545 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/2.899, allocations: 9.375 kB / 0.7545 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/2.9, allocations: 57.36 kB / 0.7545 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000469/2.9, allocations: 309.2 kB / 0.7548 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/2.9, allocations: 26.72 kB / 0.7548 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/2.9, allocations: 37.38 kB / 0.7549 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008085/2.901, allocations: 0.5125 MB / 0.7554 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.901, allocations: 0 / 0.7554 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/2.901, allocations: 17.38 kB / 0.7554 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.968e-05/2.901, allocations: 26.88 kB / 0.7554 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/2.902, allocations: 317.2 kB / 0.7557 GB, free: 11.39 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.003045/2.905, allocations: 2.744 MB / 0.7584 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/2.905, allocations: 281.6 kB / 0.7587 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/2.905, allocations: 151.8 kB / 0.7588 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2565/3.162, allocations: 126 MB / 0.8818 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.969e-05/3.162, allocations: 38.12 kB / 0.8819 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 9.347e-06/3.162, allocations: 4 kB / 0.8819 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.003444/3.166, allocations: 1.016 MB / 0.8829 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/3.166, allocations: 59.34 kB / 0.8829 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006815/3.166, allocations: 347.7 kB / 0.8832 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.28e-05/3.166, allocations: 33.14 kB / 0.8833 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/3.167, allocations: 205.1 kB / 0.8835 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/3.167, allocations: 220.1 kB / 0.8837 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/3.167, allocations: 56.44 kB / 0.8837 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001613/3.167, allocations: 353.2 kB / 0.8841 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/3.167, allocations: 119.5 kB / 0.8842 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/3.168, allocations: 196.3 kB / 0.8844 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/3.168, allocations: 385 kB / 0.8847 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/3.168, allocations: 0 / 0.8847 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001413/3.17, allocations: 0.5894 MB / 0.8853 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/3.17, allocations: 11.98 kB / 0.8853 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/3.17, allocations: 0 / 0.8853 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/3.171, allocations: 359.4 kB / 0.8857 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/3.171, allocations: 38.88 kB / 0.8857 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/3.173, allocations: 1.86 MB / 0.8875 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/3.173, allocations: 54.77 kB / 0.8876 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/3.173, allocations: 12 kB / 0.8876 GB, free: 14.98 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.0002112/3.173, allocations: 170.4 kB / 0.8877 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.981e-05/3.173, allocations: 43.42 kB / 0.8878 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/3.175, allocations: 1.06 MB / 0.8888 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001064/3.176, allocations: 0.7696 MB / 0.8896 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/3.176, allocations: 128 / 0.8896 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/3.176, allocations: 6.719 kB / 0.8896 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/3.179, allocations: 1.889 MB / 0.8914 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/3.179, allocations: 0 / 0.8914 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/3.18, allocations: 105.6 kB / 0.8915 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008567/3.18, allocations: 374 kB / 0.8919 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/3.181, allocations: 15.12 kB / 0.8919 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/3.182, allocations: 1.903 MB / 0.8938 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/3.182, allocations: 0 / 0.8938 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/3.183, allocations: 0.917 MB / 0.8947 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/3.184, allocations: 194.7 kB / 0.8948 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/3.184, allocations: 9.062 kB / 0.8948 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002738/3.184, allocations: 16.69 kB / 0.8949 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/3.184, allocations: 44.19 kB / 0.8949 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/3.184, allocations: 16.38 kB / 0.8949 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002759/3.185, allocations: 253.2 kB / 0.8952 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/3.185, allocations: 0 / 0.8952 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006835/3.191, allocations: 2.013 MB / 0.8971 GB, free: 6.906 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.01214/3.204, allocations: 2.965 MB / 0.9 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001523/3.205, allocations: 0.7371 MB / 0.9007 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/3.205, allocations: 0 / 0.9007 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007161/3.206, allocations: 364.7 kB / 0.9011 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/3.208, allocations: 272 kB / 0.9014 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/3.21, allocations: 1.476 MB / 0.9028 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/3.21, allocations: 0.9172 MB / 0.9037 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003304/3.211, allocations: 78.84 kB / 0.9038 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/3.211, allocations: 47.44 kB / 0.9038 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of SimCode: time 6.32e-07/3.211, allocations: 0 / 0.9038 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of Templates: time 0.106/3.317, allocations: 70.46 MB / 0.9726 GB, free: 10.66 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: