Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",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.006557/0.006557, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.001491/0.001491, allocations: 189.1 kB / 16.67 MB, free: 5.973 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.202/0.202, allocations: 22.36 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 61.88 kB / 436.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 54.97 MB / 491.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.001583/0.1029, allocations: 0.7038 MB / 492.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.1031, allocations: 27.91 kB / 492.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.1031, allocations: 4 kB / 492.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.713e-05/0.1032, allocations: 7.938 kB / 492.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.359e-05/0.1032, allocations: 0 / 492.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.654e-05/0.1033, allocations: 8 kB / 492.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.964e-05/0.1034, allocations: 19.92 kB / 492.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.054e-05/0.1035, allocations: 11.98 kB / 492.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.1035, allocations: 11.92 kB / 492.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.1036, allocations: 11.98 kB / 492.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.1036, allocations: 0 / 492.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-06/0.1036, allocations: 4 kB / 492.4 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.1036, allocations: 7.938 kB / 492.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.1037, allocations: 8 kB / 492.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.831e-05/0.1037, allocations: 23.89 kB / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1037, allocations: 0 / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1038, allocations: 0 / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1038, allocations: 0 / 492.4 MB, free: 0.832 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002977/0.1041, allocations: 319.6 kB / 492.7 MB, free: 480 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1041, allocations: 15.97 kB / 492.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.1041, allocations: 30.75 kB / 492.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.1042, allocations: 8.844 kB / 492.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.637e-05/0.1043, allocations: 168.9 kB / 492.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1043, allocations: 4.375 kB / 492.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.1043, allocations: 384 / 492.9 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.492e-05/0.1044, allocations: 42.25 kB / 493 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1044, allocations: 3.938 kB / 493 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1044, allocations: 0 / 493 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.1044, allocations: 3.938 kB / 493 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.1044, allocations: 15.98 kB / 493 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1048, allocations: 261.1 kB / 493.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.443e-05/0.1049, allocations: 38.52 kB / 493.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.1049, allocations: 12.91 kB / 493.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.1049, allocations: 7.984 kB / 493.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.105, allocations: 34.56 kB / 493.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.105, allocations: 4 kB / 493.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001503/0.1051, allocations: 53.62 kB / 493.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1052, allocations: 51.41 kB / 493.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.1052, allocations: 101.8 kB / 493.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.1053, allocations: 25.7 kB / 493.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.982e-05/0.1053, allocations: 84.05 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.1053, allocations: 11.91 kB / 493.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.1054, allocations: 13.72 kB / 493.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1055, allocations: 318.8 kB / 494 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.061e-05/0.1055, allocations: 7.984 kB / 494 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.188e-05/0.1055, allocations: 4 kB / 494 MB, free: 15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.826e-05/0.1056, allocations: 20.86 kB / 494 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1056, allocations: 3.938 kB / 494 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.081e-05/0.1057, allocations: 49.62 kB / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1057, allocations: 4 kB / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1057, allocations: 0 / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.1057, allocations: 0 / 494.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.1058, allocations: 11.98 kB / 494.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1058, allocations: 4 kB / 494.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.1058, allocations: 0 / 494.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1058, allocations: 0 / 494.1 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.158e-05/0.1059, allocations: 122.5 kB / 494.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.1059, allocations: 3.906 kB / 494.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001474/0.1061, allocations: 73.17 kB / 494.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1061, allocations: 12 kB / 494.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1061, allocations: 0 / 494.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1061, allocations: 3.938 kB / 494.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1063, allocations: 169.6 kB / 494.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1063, allocations: 0 / 494.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.095e-05/0.1063, allocations: 7.938 kB / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1063, allocations: 4 kB / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.1063, allocations: 0 / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1064, allocations: 0 / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1064, allocations: 0 / 494.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.1065, allocations: 159.5 kB / 494.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.1065, allocations: 92.88 kB / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1065, allocations: 0 / 494.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.5e-05/0.1066, allocations: 4 kB / 494.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.1066, allocations: 4.516 kB / 494.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.1066, allocations: 0 / 494.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.729e-05/0.1067, allocations: 79.28 kB / 494.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1067, allocations: 0 / 494.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.1069, allocations: 8 kB / 494.8 MB, free: 14.06 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 (5): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003752/0.1073, allocations: 0.6852 MB / 495.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.776e-05/0.1074, allocations: 27.92 kB / 495.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1074, allocations: 0 / 495.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.521e-05/0.1074, allocations: 19.98 kB / 495.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1077, allocations: 8 kB / 495.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.1087, allocations: 1.182 MB / 496.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1089, allocations: 0.6845 MB / 497.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.781e-05/0.1089, allocations: 4 kB / 497.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.109, allocations: 7.438 kB / 497.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.109, allocations: 4 kB / 497.4 MB, free: 11.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.126, allocations: 1.276 MB / 498.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.118, allocations: 16.55 kB / 498.7 MB, free: 10.08 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1)