Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HP_001a.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008686/0.0008686, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 165.2 kB / 23.23 MB, free: 1.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8866/0.8866, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.06376/0.06376, allocations: 18.13 MB / 278.1 MB, free: 11.54 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HP_001a,fileNamePrefix="AES_AES_Devel_test_models_Test_HP_001a",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 415.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.731e-05, allocations: 2.984 kB / 415.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.001776/0.001793, allocations: 1.813 MB / 417.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.002, allocations: 98.64 kB / 417.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.002043, allocations: 5.906 kB / 417.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.168e-05/0.002084, allocations: 17.8 kB / 417.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.002224, allocations: 39.56 kB / 417.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.636e-05/0.002281, allocations: 23.17 kB / 417.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.002379, allocations: 133.3 kB / 418 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.002498, allocations: 35.5 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.002535, allocations: 38.77 kB / 418.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.671e-05/0.002622, allocations: 42.59 kB / 418.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.002651, allocations: 11.12 kB / 418.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.002666, allocations: 9.781 kB / 418.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.002685, allocations: 19.66 kB / 418.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.002727, allocations: 42.31 kB / 418.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.002858, allocations: 120.3 kB / 418.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00286, allocations: 0 / 418.3 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.002861, allocations: 4 kB / 418.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.002864, allocations: 1.344 kB / 418.3 MB, free: 10.82 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.000301/0.003165, allocations: 334.7 kB / 418.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.0032, allocations: 15.89 kB / 418.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.032e-05/0.003231, allocations: 45.34 kB / 418.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.003255, allocations: 14.94 kB / 418.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.446e-05/0.00331, allocations: 115.8 kB / 418.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.003321, allocations: 9.75 kB / 418.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.003335, allocations: 12.41 kB / 418.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.003485, allocations: 114.4 kB / 418.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.003493, allocations: 8.172 kB / 419 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.003503, allocations: 6 kB / 419 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.003509, allocations: 7.625 kB / 419 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.003608, allocations: 76.67 kB / 419 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004244/0.004032, allocations: 375.8 kB / 419.4 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.004267, allocations: 129.4 kB / 419.5 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.985e-05/0.004317, allocations: 43.91 kB / 419.6 MB, free: 9.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.004335, allocations: 5.062 kB / 419.6 MB, free: 9.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.004346, allocations: 32.41 kB / 419.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 1.092e-06/0.004347, allocations: 1.125 kB / 419.6 MB, free: 9.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006448/0.004992, allocations: 307.9 kB / 419.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.005012, allocations: 53.36 kB / 420 MB, free: 9.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.275e-05/0.005054, allocations: 109.4 kB / 420.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-06/0.00506, allocations: 31.11 kB / 420.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.005092, allocations: 108.3 kB / 420.2 MB, free: 9.367 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.005109, allocations: 46.83 kB / 420.3 MB, free: 9.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.831e-05/0.005137, allocations: 27.48 kB / 420.3 MB, free: 9.305 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.487e-05/0.005162, allocations: 319.6 kB / 420.6 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.005193, allocations: 23.66 kB / 420.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.005231, allocations: 42.52 kB / 420.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.0053, allocations: 73.81 kB / 420.7 MB, free: 8.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.005303, allocations: 1.031 kB / 420.7 MB, free: 8.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002137/0.005517, allocations: 173.8 kB / 420.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.00553, allocations: 12.12 kB / 420.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.005534, allocations: 0 / 420.9 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002352/0.00577, allocations: 91.86 kB / 421 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.457e-05/0.005804, allocations: 10.44 kB / 421 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.006913, allocations: 1.797 MB / 422.8 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.006938, allocations: 10.02 kB / 422.8 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.006945, allocations: 4.016 kB / 422.8 MB, free: 7.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 5 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.006993, allocations: 122.8 kB / 423 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.007007, allocations: 7.422 kB / 423 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.007248, allocations: 198.8 kB / 423.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007251, allocations: 1.531 kB / 423.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.007252, allocations: 2.156 kB / 423.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.007255, allocations: 0 / 423.2 MB, free: 6.988 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003453/0.0076, allocations: 448.2 kB / 423.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.007602, allocations: 0 / 423.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.007629, allocations: 10.98 kB / 423.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/0.007788, allocations: 95.05 kB / 423.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.007795, allocations: 1.125 kB / 423.7 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000888/0.008683, allocations: 1.785 MB / 425.5 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008685, allocations: 4.641 kB / 425.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.00891, allocations: 277.2 kB / 425.8 MB, free: 4.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-06/0.008916, allocations: 7.062 kB / 425.8 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.015e-06/0.008924, allocations: 9.953 kB / 425.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.008957, allocations: 0 / 425.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.008981, allocations: 13.66 kB / 425.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.008986, allocations: 2.781 kB / 425.8 MB, free: 4.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.82e-05/0.009005, allocations: 82.25 kB / 425.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009005, allocations: 0 / 425.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000224/0.009229, allocations: 44.83 kB / 425.9 MB, free: 4.75 MB / 330.7 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 (6): * Single equations (assignments): 5 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003429/0.009572, allocations: 0.8051 MB / 426.7 MB, free: 4.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002548/0.009826, allocations: 212.2 kB / 426.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.009828, allocations: 4.062 kB / 426.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.009941, allocations: 181.8 kB / 427.1 MB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.01012, allocations: 13.28 kB / 427.1 MB, free: 3.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.01065, allocations: 330.5 kB / 427.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.603e-05/0.01071, allocations: 92.05 kB / 427.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.01073, allocations: 4.312 kB / 427.5 MB, free: 3.418 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.01076, allocations: 25.25 kB / 427.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01076, allocations: 4 kB / 427.6 MB, free: 3.395 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.02816, allocations: 3.359 MB / 430.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/7.819, allocations: 1.344 kB / 430.9 MB, free: 2.367 MB / 330.7 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_HP_001a.pipe ; mkfifo AES_AES.Devel_test_models.Test_HP_001a.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HP_001a.pipe >> ../files/AES_AES.Devel_test_models.Test_HP_001a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HP_001a_fmu --startTime=0 --stopTime=50 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HP_001a.fmu > AES_AES.Devel_test_models.Test_HP_001a.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.689150399528444] Failed to read output from testmodel.py, exit status != 0: 7.904427606612444 7.91528895 7.910564228 Calling exit ...