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.001389/0.001389, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001822/0.001822, allocations: 214.8 kB / 22.25 MB, free: 5.082 MB / 14.72 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 1.455/1.455, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.1105/0.1105, allocations: 24.12 MB / 336.6 MB, free: 11.46 MB / 270.1 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 63.91 kB / 474.1 MB, free: 5.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 59.6 MB / 0.5212 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.004108/0.328, allocations: 1.884 MB / 0.523 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003854/0.3284, allocations: 101.4 kB / 0.5231 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3285, allocations: 5.375 kB / 0.5231 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.262e-05/0.3286, allocations: 14.75 kB / 0.5231 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.3288, allocations: 32.89 kB / 0.5232 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001059/0.3289, allocations: 26.53 kB / 0.5232 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3291, allocations: 119.9 kB / 0.5233 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.3293, allocations: 39.33 kB / 0.5234 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.3294, allocations: 45.25 kB / 0.5234 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.3295, allocations: 49.56 kB / 0.5234 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.3296, allocations: 10.56 kB / 0.5235 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3e-05/0.3296, allocations: 13.84 kB / 0.5235 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.224e-05/0.3296, allocations: 24.14 kB / 0.5235 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.3297, allocations: 59.44 kB / 0.5235 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3299, allocations: 117.9 kB / 0.5237 GB, free: 8.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3299, allocations: 0 / 0.5237 GB, free: 8.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3299, allocations: 1.531 kB / 0.5237 GB, free: 8.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.3299, allocations: 0 / 0.5237 GB, free: 8.91 MB / 382.1 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.0006008/0.3305, allocations: 336 kB / 0.524 GB, free: 8.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.3306, allocations: 10.7 kB / 0.524 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.3306, allocations: 49.88 kB / 0.524 GB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.3307, allocations: 18.41 kB / 0.5241 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3308, allocations: 111.6 kB / 0.5242 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.3309, allocations: 9.688 kB / 0.5242 GB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.3309, allocations: 17.44 kB / 0.5242 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.3312, allocations: 108.9 kB / 0.5243 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3312, allocations: 5.219 kB / 0.5243 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3312, allocations: 4.844 kB / 0.5243 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3312, allocations: 3.25 kB / 0.5243 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3314, allocations: 72.53 kB / 0.5244 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.3323, allocations: 0.5452 MB / 0.5249 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.3328, allocations: 137.4 kB / 0.525 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.3329, allocations: 47.11 kB / 0.5251 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3329, allocations: 1.188 kB / 0.5251 GB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3329, allocations: 39.59 kB / 0.5251 GB, free: 7.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.3329, allocations: 0 / 0.5251 GB, free: 7.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00154/0.3345, allocations: 315 kB / 0.5254 GB, free: 7.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3345, allocations: 53.09 kB / 0.5255 GB, free: 7.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.3346, allocations: 108.6 kB / 0.5256 GB, free: 7.379 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.3346, allocations: 26.73 kB / 0.5256 GB, free: 7.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/0.3347, allocations: 112.4 kB / 0.5257 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3347, allocations: 52.61 kB / 0.5258 GB, free: 7.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.3348, allocations: 22.62 kB / 0.5258 GB, free: 7.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.3348, allocations: 318.8 kB / 0.5261 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.3349, allocations: 23.3 kB / 0.5261 GB, free: 6.855 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.335, allocations: 44.91 kB / 0.5261 GB, free: 6.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3352, allocations: 76.95 kB / 0.5262 GB, free: 6.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3352, allocations: 4 kB / 0.5262 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005869/0.3357, allocations: 178.1 kB / 0.5264 GB, free: 6.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.3358, allocations: 6.312 kB / 0.5264 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3358, allocations: 0 / 0.5264 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/0.3363, allocations: 88.55 kB / 0.5265 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.3364, allocations: 13.73 kB / 0.5265 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002563/0.3389, allocations: 1.804 MB / 0.5283 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.651e-05/0.339, allocations: 17.45 kB / 0.5283 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.339, allocations: 3.438 kB / 0.5283 GB, free: 5.078 MB / 382.1 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 9.951e-05/0.3391, allocations: 119.9 kB / 0.5284 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.3392, allocations: 11.39 kB / 0.5284 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.3398, allocations: 189.3 kB / 0.5286 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3398, allocations: 2.281 kB / 0.5286 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3398, allocations: 0 / 0.5286 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.3398, allocations: 1.719 kB / 0.5286 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008969/0.3407, allocations: 458.5 kB / 0.529 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3407, allocations: 5.219 kB / 0.529 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.3408, allocations: 10.11 kB / 0.529 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004269/0.3412, allocations: 91.56 kB / 0.5291 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3412, allocations: 4.891 kB / 0.5291 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.3434, allocations: 1.787 MB / 0.5309 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3434, allocations: 5.406 kB / 0.5309 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005231/0.3439, allocations: 275.1 kB / 0.5311 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.3439, allocations: 9.953 kB / 0.5312 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.3439, allocations: 5.125 kB / 0.5312 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.344, allocations: 1 kB / 0.5312 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3441, allocations: 17.61 kB / 0.5312 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3441, allocations: 2.688 kB / 0.5312 GB, free: 2.691 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.532e-05/0.3441, allocations: 82.14 kB / 0.5313 GB, free: 2.617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3441, allocations: 0 / 0.5313 GB, free: 2.617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005921/0.3447, allocations: 41.17 kB / 0.5313 GB, free: 2.605 MB / 382.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 (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.0007526/0.3454, allocations: 0.8141 MB / 0.5321 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.3459, allocations: 213.8 kB / 0.5323 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3459, allocations: 0 / 0.5323 GB, free: 1.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.3462, allocations: 179 kB / 0.5325 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.3466, allocations: 11.75 kB / 0.5325 GB, free: 1.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.3478, allocations: 336.4 kB / 0.5328 GB, free: 1.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.348, allocations: 0.7068 MB / 0.5335 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.627e-05/0.348, allocations: 5.922 kB / 0.5335 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.348, allocations: 26.31 kB / 0.5335 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.348, allocations: 0 / 0.5335 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.3824, allocations: 3.034 MB / 0.5365 GB, free: 116 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.25, allocations: 3.219 kB / 0.5365 GB, free: 116 kB / 382.1 MB " [Timeout remaining time 647] (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: 15.949424999998882] Failed to read output from testmodel.py, exit status != 0: 13.366114871110767 13.384200401 13.050884609 Calling exit ...