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.00124/0.00124, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001437/0.001437, allocations: 217.4 kB / 22.24 MB, free: 5.105 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 7.793 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.103/0.103, allocations: 24.13 MB / 336.6 MB, free: 11.25 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.001971/0.001971, allocations: 73.25 kB / 474 MB, free: 5.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2833, allocations: 59.59 MB / 0.5211 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HP_001a): time 0.002738/0.286, allocations: 1.822 MB / 0.5229 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002406/0.2863, allocations: 97.97 kB / 0.523 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.2863, allocations: 2.219 kB / 0.523 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.123e-05/0.2864, allocations: 17.78 kB / 0.523 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.2865, allocations: 33.02 kB / 0.523 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.889e-05/0.2866, allocations: 26.53 kB / 0.523 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.2867, allocations: 120.5 kB / 0.5232 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.2869, allocations: 44 kB / 0.5232 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.2869, allocations: 43.66 kB / 0.5232 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.287, allocations: 53.8 kB / 0.5233 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.287, allocations: 11.09 kB / 0.5233 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.2871, allocations: 10.75 kB / 0.5233 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.2871, allocations: 22.34 kB / 0.5233 GB, free: 9 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.204e-05/0.2871, allocations: 48.52 kB / 0.5234 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.2873, allocations: 118.2 kB / 0.5235 GB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2873, allocations: 1.969 kB / 0.5235 GB, free: 8.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2873, allocations: 1.281 kB / 0.5235 GB, free: 8.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2873, allocations: 4 kB / 0.5235 GB, free: 8.93 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.0003833/0.2877, allocations: 331.2 kB / 0.5238 GB, free: 8.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2877, allocations: 9.797 kB / 0.5238 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.52e-05/0.2878, allocations: 42.75 kB / 0.5239 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.2878, allocations: 19.28 kB / 0.5239 GB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.852e-05/0.2879, allocations: 115.5 kB / 0.524 GB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2879, allocations: 13.95 kB / 0.524 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2879, allocations: 11.72 kB / 0.524 GB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.2881, allocations: 117.7 kB / 0.5241 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2881, allocations: 7.875 kB / 0.5241 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2881, allocations: 9.281 kB / 0.5241 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2881, allocations: 3.5 kB / 0.5242 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.2882, allocations: 73.14 kB / 0.5242 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.2888, allocations: 380.6 kB / 0.5246 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.2891, allocations: 131 kB / 0.5247 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.692e-05/0.2891, allocations: 43.66 kB / 0.5247 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.2891, allocations: 1.281 kB / 0.5248 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.144e-05/0.2892, allocations: 42.73 kB / 0.5248 GB, free: 7.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.153e-06/0.2892, allocations: 0 / 0.5248 GB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00105/0.2902, allocations: 310.8 kB / 0.5251 GB, free: 7.766 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.895e-05/0.2902, allocations: 56.75 kB / 0.5251 GB, free: 7.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.427e-05/0.2903, allocations: 108.7 kB / 0.5252 GB, free: 7.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.2903, allocations: 31.11 kB / 0.5253 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.778e-05/0.2903, allocations: 116.1 kB / 0.5254 GB, free: 7.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.061e-05/0.2904, allocations: 40 kB / 0.5254 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.648e-05/0.2904, allocations: 26.66 kB / 0.5254 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.831e-05/0.2904, allocations: 316.3 kB / 0.5258 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.111e-05/0.2905, allocations: 23.05 kB / 0.5258 GB, free: 7.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.2905, allocations: 42.69 kB / 0.5258 GB, free: 7.047 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.2906, allocations: 72.2 kB / 0.5259 GB, free: 7.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2906, allocations: 0 / 0.5259 GB, free: 7.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003752/0.291, allocations: 183.2 kB / 0.5261 GB, free: 6.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.291, allocations: 4.219 kB / 0.5261 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.291, allocations: 1.859 kB / 0.5261 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.2914, allocations: 95.23 kB / 0.5262 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.2914, allocations: 11.5 kB / 0.5262 GB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.2931, allocations: 1.798 MB / 0.5279 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2932, allocations: 10.42 kB / 0.5279 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.2932, allocations: 2.688 kB / 0.5279 GB, free: 5.305 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 5.973e-05/0.2933, allocations: 119.9 kB / 0.528 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.2933, allocations: 7.453 kB / 0.5281 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.2937, allocations: 197.1 kB / 0.5282 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2937, allocations: 1.922 kB / 0.5282 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2937, allocations: 1.062 kB / 0.5282 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2937, allocations: 0.5156 kB / 0.5282 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.2943, allocations: 449.1 kB / 0.5287 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2943, allocations: 1.125 kB / 0.5287 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.802e-05/0.2943, allocations: 13.2 kB / 0.5287 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.2946, allocations: 88.61 kB / 0.5288 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2946, allocations: 0 / 0.5288 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.296, allocations: 1.774 MB / 0.5305 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.296, allocations: 0 / 0.5305 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.2964, allocations: 290.2 kB / 0.5308 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.2964, allocations: 10.27 kB / 0.5308 GB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.2965, allocations: 7.234 kB / 0.5308 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.2965, allocations: 1.219 kB / 0.5308 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.2966, allocations: 12.64 kB / 0.5308 GB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.2966, allocations: 2.188 kB / 0.5308 GB, free: 2.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.2966, allocations: 82.17 kB / 0.5309 GB, free: 2.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2966, allocations: 1.094 kB / 0.5309 GB, free: 2.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003453/0.2969, allocations: 40.95 kB / 0.5309 GB, free: 2.848 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.0005205/0.2974, allocations: 0.806 MB / 0.5317 GB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003238/0.2978, allocations: 225 kB / 0.5319 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2978, allocations: 1.156 kB / 0.5319 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.298, allocations: 187.6 kB / 0.5321 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.2982, allocations: 8.062 kB / 0.5321 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.299, allocations: 333.9 kB / 0.5324 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.299, allocations: 97.44 kB / 0.5325 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.511e-05/0.299, allocations: 3.609 kB / 0.5325 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.747e-05/0.2991, allocations: 25.16 kB / 0.5326 GB, free: 1.496 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2991, allocations: 0 / 0.5326 GB, free: 1.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.3295, allocations: 3.264 MB / 0.5357 GB, free: 0.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.18, allocations: 3.531 kB / 0.5358 GB, free: 0.543 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.660723968991078] Failed to read output from testmodel.py, exit status != 0: 12.292304503993364 12.30655328 12.016421213 Calling exit ...