Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_centrifugal_pump_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Devel_test_models.Test_centrifugal_pump_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_centrifugal_pump_001") translateModel(AES.Devel_test_models.Test_centrifugal_pump_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_centrifugal_pump_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 102.4 kB / 16.35 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00175/0.00175, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0908/0.0908, allocations: 22.33 MB / 313.5 MB, free: 8.848 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 68.97 kB / 382.9 MB, free: 40.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08533/0.08657, allocations: 54.96 MB / 437.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.003911/0.09052, allocations: 2.225 MB / 440.1 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007142/0.09125, allocations: 271.2 kB / 440.4 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.09141, allocations: 4 kB / 440.4 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.907e-05/0.09148, allocations: 23.72 kB / 440.4 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002323/0.09172, allocations: 71.41 kB / 440.5 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.09205, allocations: 67.84 kB / 440.6 MB, free: 8.93 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.0924, allocations: 235 kB / 440.8 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.0927, allocations: 132.6 kB / 440.9 MB, free: 8.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.09285, allocations: 87.59 kB / 441 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.09303, allocations: 111.5 kB / 441.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.09308, allocations: 20 kB / 441.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.09321, allocations: 51.97 kB / 441.2 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.434e-05/0.09327, allocations: 51.77 kB / 441.2 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.0934, allocations: 107.4 kB / 441.3 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.09374, allocations: 247.1 kB / 441.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.09375, allocations: 0 / 441.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.09376, allocations: 0 / 441.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.09378, allocations: 0 / 441.6 MB, free: 7.91 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000925/0.09471, allocations: 0.5221 MB / 442.1 MB, free: 7.336 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.09476, allocations: 8.031 kB / 442.1 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.609e-05/0.09485, allocations: 24.66 kB / 442.1 MB, free: 7.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.09527, allocations: 247.9 kB / 442.4 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.0953, allocations: 12.7 kB / 442.4 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.09534, allocations: 20.36 kB / 442.4 MB, free: 6.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003544/0.0957, allocations: 152 kB / 442.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.09573, allocations: 8.188 kB / 442.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.09576, allocations: 15.94 kB / 442.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.09577, allocations: 4 kB / 442.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.09602, allocations: 95.95 kB / 442.7 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000961/0.09699, allocations: 0.5467 MB / 443.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.09722, allocations: 94.58 kB / 443.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.09732, allocations: 40.89 kB / 443.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.09736, allocations: 0 / 443.4 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.09738, allocations: 30.56 kB / 443.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.09739, allocations: 0 / 443.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.001414/0.09881, allocations: 355.1 kB / 443.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.09886, allocations: 51.41 kB / 443.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.09909, allocations: 215.8 kB / 444 MB, free: 5.281 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.09912, allocations: 29.7 kB / 444 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.09923, allocations: 155.9 kB / 444.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.09927, allocations: 35.92 kB / 444.2 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.09933, allocations: 33.62 kB / 444.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.09947, allocations: 330.8 kB / 444.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.09958, allocations: 27.98 kB / 444.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.0997, allocations: 69.09 kB / 444.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.09991, allocations: 94.12 kB / 444.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.09992, allocations: 4 kB / 444.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006231/0.1005, allocations: 206.2 kB / 445 MB, free: 4.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1006, allocations: 8 kB / 445 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1006, allocations: 0 / 445 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.1012, allocations: 72.78 kB / 445 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1013, allocations: 27.92 kB / 445.1 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003831/0.1017, allocations: 0.568 MB / 445.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.1019, allocations: 11.84 kB / 445.6 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.1019, allocations: 11.98 kB / 445.7 MB, free: 3.543 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 initialization (12): * Single equations (assignments): 11 * 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 9.939e-05/0.102, allocations: 125.8 kB / 445.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.102, allocations: 15.88 kB / 445.8 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005849/0.1026, allocations: 211.6 kB / 446 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1026, allocations: 8 kB / 446 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1026, allocations: 0 / 446 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1027, allocations: 0 / 446 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.1029, allocations: 281.3 kB / 446.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1029, allocations: 0 / 446.3 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1031, allocations: 15.98 kB / 446.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/0.1034, allocations: 64.81 kB / 446.4 MB, free: 2.758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1034, allocations: 4 kB / 446.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003536/0.1038, allocations: 0.5718 MB / 446.9 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1038, allocations: 3.984 kB / 446.9 MB, free: 2.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.1043, allocations: 288.1 kB / 447.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.1044, allocations: 100.8 kB / 447.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.1044, allocations: 4 kB / 447.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.1046, allocations: 4 kB / 447.3 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.1046, allocations: 11.98 kB / 447.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.1046, allocations: 7.984 kB / 447.3 MB, free: 1.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.1048, allocations: 160.6 kB / 447.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1048, allocations: 0 / 447.5 MB, free: 1.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002828/0.1051, allocations: 43.84 kB / 447.5 MB, free: 1.508 MB / 318.1 MB 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 (11): * Single equations (assignments): 10 * 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.0001324/0.1052, allocations: 99.25 kB / 447.6 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003945/0.1056, allocations: 123.8 kB / 447.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1056, allocations: 0 / 447.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.1058, allocations: 74.56 kB / 447.8 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/0.1062, allocations: 30.27 kB / 447.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.1068, allocations: 399.8 kB / 448.3 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.1071, allocations: 0.7436 MB / 449 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.075e-05/0.1072, allocations: 17.55 kB / 449 MB, free: 15.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.1073, allocations: 19.42 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1073, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of Templates: time 0.005125/0.1124, allocations: 2.326 MB / 451.4 MB, free: 13.64 MB / 334.1 MB make -j1 -f AES_AES.Devel_test_models.Test_centrifugal_pump_001.makefile (rm -f AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe >> ../files/AES_AES.Devel_test_models.Test_centrifugal_pump_001.sim & ./AES_AES.Devel_test_models.Test_centrifugal_pump_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe 2>&1)