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: "" <> buildModelFMU(AES.Devel_test_models.Test_centrifugal_pump_001,fileNamePrefix="AES_AES_Devel_test_models_Test_centrifugal_pump_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_centrifugal_pump_001,fileNamePrefix="AES_AES_Devel_test_models_Test_centrifugal_pump_001",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004716/0.004716, allocations: 102 kB / 15.73 MB, free: 6.441 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.001261/0.001261, allocations: 194 kB / 16.67 MB, free: 6.352 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1963/0.1963, allocations: 22.34 MB / 312.9 MB, free: 12.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.88 kB / 437.3 MB, free: 33.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07696/0.07888, allocations: 54.97 MB / 492.3 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_centrifugal_pump_001): time 0.002932/0.08185, allocations: 2.222 MB / 494.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.0825, allocations: 271.2 kB / 494.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.242e-05/0.0826, allocations: 4 kB / 494.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.673e-05/0.08269, allocations: 23.72 kB / 494.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.08291, allocations: 67.41 kB / 494.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.08316, allocations: 75.84 kB / 494.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002881/0.08346, allocations: 234.9 kB / 495.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.0837, allocations: 132.7 kB / 495.3 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.08382, allocations: 87.59 kB / 495.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.08398, allocations: 107.5 kB / 495.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.08403, allocations: 20 kB / 495.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.08415, allocations: 47.97 kB / 495.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.08422, allocations: 51.78 kB / 495.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.08434, allocations: 107.4 kB / 495.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.08467, allocations: 246.9 kB / 495.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.08468, allocations: 0 / 495.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.08469, allocations: 0 / 495.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.0847, allocations: 0 / 495.9 MB, free: 13.29 MB / 366.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.0008076/0.08551, allocations: 0.5258 MB / 496.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.08556, allocations: 16.03 kB / 496.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.348e-05/0.08563, allocations: 50.73 kB / 496.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.08568, allocations: 28.73 kB / 496.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.08604, allocations: 244 kB / 496.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.08607, allocations: 12.7 kB / 496.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.08612, allocations: 16.38 kB / 496.8 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.08645, allocations: 155.7 kB / 497 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.08648, allocations: 3.938 kB / 497 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.08651, allocations: 11.98 kB / 497 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/0.08652, allocations: 8 kB / 497 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.0868, allocations: 99.89 kB / 497.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009107/0.08772, allocations: 0.5391 MB / 497.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.08797, allocations: 94.69 kB / 497.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.08808, allocations: 40.84 kB / 497.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.08812, allocations: 7.984 kB / 497.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.08815, allocations: 30.56 kB / 497.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.08815, allocations: 0 / 497.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.001438/0.0896, allocations: 347.2 kB / 498.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.08965, allocations: 55.41 kB / 498.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.0899, allocations: 223.8 kB / 498.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.08993, allocations: 25.7 kB / 498.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.09005, allocations: 160.2 kB / 498.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.09009, allocations: 31.69 kB / 498.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.457e-05/0.09016, allocations: 37.66 kB / 498.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.09032, allocations: 330.8 kB / 499 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.09046, allocations: 31.98 kB / 499 MB, free: 9.953 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.09059, allocations: 56.94 kB / 499.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.09082, allocations: 94.5 kB / 499.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.09083, allocations: 0 / 499.2 MB, free: 9.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000697/0.09153, allocations: 210.2 kB / 499.4 MB, free: 9.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.09156, allocations: 8.438 kB / 499.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.09158, allocations: 4 kB / 499.4 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/0.09218, allocations: 76.78 kB / 499.5 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.09234, allocations: 23.98 kB / 499.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004717/0.09283, allocations: 0.5717 MB / 0.4883 GB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.09296, allocations: 15.86 kB / 0.4883 GB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.09299, allocations: 7.984 kB / 0.4884 GB, free: 8.84 MB / 366.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 0.0001266/0.09312, allocations: 125.8 kB / 0.4885 GB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.09317, allocations: 19.86 kB / 0.4885 GB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006418/0.09382, allocations: 211.7 kB / 0.4887 GB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.09384, allocations: 4 kB / 0.4887 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.09385, allocations: 0 / 0.4887 GB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.09386, allocations: 3.984 kB / 0.4887 GB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.09421, allocations: 277.4 kB / 0.489 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.09422, allocations: 0 / 0.489 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.09433, allocations: 19.94 kB / 0.489 GB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003954/0.09473, allocations: 68.8 kB / 0.4891 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.09476, allocations: 0 / 0.4891 GB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004238/0.09519, allocations: 0.5602 MB / 0.4896 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0952, allocations: 0 / 0.4896 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006111/0.09581, allocations: 300.1 kB / 0.4899 GB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.0959, allocations: 100.9 kB / 0.49 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.09594, allocations: 0 / 0.49 GB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.09607, allocations: 4 kB / 0.49 GB, free: 7.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/0.09613, allocations: 11.98 kB / 0.49 GB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.09615, allocations: 8 kB / 0.49 GB, free: 7.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001587/0.09631, allocations: 160.6 kB / 0.4902 GB, free: 6.855 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09632, allocations: 0 / 0.4902 GB, free: 6.855 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002902/0.09662, allocations: 47.89 kB / 0.4902 GB, free: 6.809 MB / 366.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.0007777/0.0974, allocations: 0.8063 MB / 0.491 GB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004441/0.09786, allocations: 115.8 kB / 0.4911 GB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.09787, allocations: 0 / 0.4911 GB, free: 5.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.09811, allocations: 75.83 kB / 0.4912 GB, free: 5.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.09847, allocations: 40.16 kB / 0.4912 GB, free: 5.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003325/0.1018, allocations: 2.113 MB / 0.4933 GB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1022, allocations: 0.7398 MB / 0.494 GB, free: 2.766 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.852e-05/0.1023, allocations: 21.55 kB / 0.494 GB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1024, allocations: 67.34 kB / 0.4941 GB, free: 2.684 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1024, allocations: 0 / 0.4941 GB, free: 2.684 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.1303, allocations: 4.326 MB / 0.4983 GB, free: 14.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.31, allocations: 15.66 kB / 0.4983 GB, free: 14.44 MB / 382.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_centrifugal_pump_001_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_centrifugal_pump_001.fmu > AES_AES.Devel_test_models.Test_centrifugal_pump_001.pipe 2>&1)