Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",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.004361/0.004361, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001232/0.001232, allocations: 194.8 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1983/0.1983, allocations: 22.34 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 66.77 kB / 434.5 MB, free: 35.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07493/0.07683, allocations: 54.97 MB / 489.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002194/0.07906, allocations: 1.711 MB / 491.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007988/0.07988, allocations: 0.5806 MB / 491.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.029e-05/0.07998, allocations: 4 kB / 491.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.08025, allocations: 47.75 kB / 491.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.0804, allocations: 47.7 kB / 491.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.08065, allocations: 111.8 kB / 491.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.08089, allocations: 283.5 kB / 492.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.081, allocations: 41.55 kB / 492.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.08113, allocations: 119.6 kB / 492.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.0813, allocations: 131.5 kB / 492.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.08135, allocations: 20 kB / 492.5 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.022e-05/0.08139, allocations: 20 kB / 492.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.08148, allocations: 71.86 kB / 492.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.483e-05/0.08155, allocations: 91.41 kB / 492.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.08173, allocations: 223.1 kB / 492.9 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.08174, allocations: 0 / 492.9 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08174, allocations: 4 kB / 492.9 MB, free: 376 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.08176, allocations: 4 kB / 492.9 MB, free: 372 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001297/0.08306, allocations: 0.5805 MB / 493.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.0831, allocations: 8.031 kB / 493.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.08316, allocations: 38.75 kB / 493.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.08322, allocations: 24.8 kB / 493.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007123/0.08393, allocations: 344.4 kB / 493.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.08396, allocations: 8.562 kB / 493.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.08401, allocations: 16.12 kB / 493.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.08428, allocations: 138.5 kB / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.0843, allocations: 0 / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.08432, allocations: 0 / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.08433, allocations: 4 kB / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002663/0.08461, allocations: 131.8 kB / 494.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009698/0.08558, allocations: 0.5747 MB / 494.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.08587, allocations: 154.4 kB / 494.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.08602, allocations: 76.81 kB / 495 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.08605, allocations: 0 / 495 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.08609, allocations: 38.56 kB / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 9.52e-07/0.0861, allocations: 0 / 495 MB, free: 14.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000526/0.08663, allocations: 253.7 kB / 495.3 MB, free: 13.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.08668, allocations: 55.39 kB / 495.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/0.08734, allocations: 291.1 kB / 495.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.08737, allocations: 33.64 kB / 495.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.08748, allocations: 136 kB / 495.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.08753, allocations: 39.59 kB / 495.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.08761, allocations: 37.7 kB / 495.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.08777, allocations: 334.8 kB / 496.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.08791, allocations: 67.97 kB / 496.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.08805, allocations: 78.48 kB / 496.3 MB, free: 12.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.08835, allocations: 168.8 kB / 496.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.08836, allocations: 0 / 496.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003731/0.08873, allocations: 221.4 kB / 496.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.08876, allocations: 4 kB / 496.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.08877, allocations: 4 kB / 496.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.08879, allocations: 4 kB / 496.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.08916, allocations: 51.89 kB / 496.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.08917, allocations: 0 / 496.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.08943, allocations: 27.97 kB / 496.8 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.08946, allocations: 19.81 kB / 496.8 MB, free: 12.22 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 (16): * Single equations (assignments): 16 * 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 0.0001231/0.08959, allocations: 138.6 kB / 496.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.08965, allocations: 19.86 kB / 497 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.331e-05/0.08973, allocations: 33.39 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.08974, allocations: 0 / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.08975, allocations: 3.938 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.08976, allocations: 4 kB / 497 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.09015, allocations: 305.4 kB / 497.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.09016, allocations: 4 kB / 497.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.09035, allocations: 27.97 kB / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.09036, allocations: 0 / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.09039, allocations: 0 / 497.3 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.0904, allocations: 4 kB / 497.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0904, allocations: 0 / 497.3 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.09101, allocations: 385.1 kB / 497.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.09112, allocations: 105 kB / 497.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.09115, allocations: 4 kB / 497.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.09145, allocations: 27.95 kB / 497.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.09151, allocations: 11.98 kB / 497.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.09153, allocations: 4 kB / 497.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005537/0.09209, allocations: 240.5 kB / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.0921, allocations: 0 / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.09237, allocations: 35.89 kB / 498.1 MB, free: 10.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (12): * Single equations (assignments): 12 * 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.001116/0.0935, allocations: 0.9038 MB / 499 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005063/0.09402, allocations: 163.9 kB / 499.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.09404, allocations: 0 / 499.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.09429, allocations: 83.89 kB / 499.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.09484, allocations: 29.52 kB / 499.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/0.1009, allocations: 2.625 MB / 0.4902 GB, free: 6.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1013, allocations: 0.7397 MB / 0.4909 GB, free: 6.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1014, allocations: 41.52 kB / 0.4909 GB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.1015, allocations: 55.42 kB / 0.491 GB, free: 6.043 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1015, allocations: 7.938 kB / 0.491 GB, free: 6.035 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4314/0.5329, allocations: 4.287 MB / 0.4952 GB, free: 1.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/8.999, allocations: 11.78 kB / 0.4952 GB, free: 1.809 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)