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.001114/0.001114, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009144/0.0009145, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2043/0.2043, allocations: 22.34 MB / 313.3 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002958, allocations: 12 kB / 379.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2594, allocations: 55.97 MB / 435.9 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.001419/0.2609, allocations: 1.382 MB / 437.3 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.2615, allocations: 0.5525 MB / 437.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.2616, allocations: 2.844 kB / 437.8 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.2619, allocations: 32.83 kB / 437.9 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.262, allocations: 56.72 kB / 437.9 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.2622, allocations: 68.8 kB / 438 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.2624, allocations: 144.4 kB / 438.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.2625, allocations: 30.23 kB / 438.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.2626, allocations: 113.4 kB / 438.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2627, allocations: 106.9 kB / 438.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.2628, allocations: 5.656 kB / 438.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.2628, allocations: 8.594 kB / 438.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.2629, allocations: 48.89 kB / 438.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2629, allocations: 54.14 kB / 438.5 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.263, allocations: 173.8 kB / 438.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.263, allocations: 0 / 438.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.263, allocations: 4 kB / 438.7 MB, free: 36.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2631, allocations: 0 / 438.7 MB, free: 36.7 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001005/0.2641, allocations: 0.5503 MB / 439.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2641, allocations: 9.719 kB / 439.2 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.2641, allocations: 45.55 kB / 439.3 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.2642, allocations: 18.41 kB / 439.3 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.2647, allocations: 337 kB / 439.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2647, allocations: 8.031 kB / 439.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.2648, allocations: 9.156 kB / 439.6 MB, free: 35.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.265, allocations: 144.3 kB / 439.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.265, allocations: 3.234 kB / 439.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.265, allocations: 7.062 kB / 439.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.265, allocations: 0 / 439.8 MB, free: 35.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.2652, allocations: 130.1 kB / 439.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007345/0.266, allocations: 0.5712 MB / 440.5 MB, free: 35.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.2662, allocations: 154 kB / 440.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2662, allocations: 3.984 kB / 440.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.2662, allocations: 36.56 kB / 440.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2662, allocations: 0 / 440.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004009/0.2666, allocations: 267.5 kB / 440.9 MB, free: 35.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.2667, allocations: 58.78 kB / 441 MB, free: 35.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.2671, allocations: 291.5 kB / 441.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.2672, allocations: 28.61 kB / 441.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.564e-05/0.2672, allocations: 127 kB / 441.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.2673, allocations: 48.2 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.2673, allocations: 4 kB / 441.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/0.2673, allocations: 338.6 kB / 441.8 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.2675, allocations: 73.53 kB / 441.9 MB, free: 34.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.2676, allocations: 74.47 kB / 441.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.2677, allocations: 83.25 kB / 442 MB, free: 34.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2677, allocations: 0 / 442 MB, free: 34.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000273/0.268, allocations: 231.7 kB / 442.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.268, allocations: 5.781 kB / 442.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.268, allocations: 0 / 442.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.268, allocations: 4 kB / 442.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.2683, allocations: 57.41 kB / 442.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2683, allocations: 3.062 kB / 442.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.2686, allocations: 27.73 kB / 442.4 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.2686, allocations: 2.875 kB / 442.4 MB, free: 34.26 MB / 350.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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.2687, allocations: 141 kB / 442.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.2687, allocations: 20.41 kB / 442.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.2688, allocations: 38.72 kB / 442.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2688, allocations: 2.906 kB / 442.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2688, allocations: 4 kB / 442.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2688, allocations: 3.375 kB / 442.6 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.269, allocations: 310.3 kB / 442.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.269, allocations: 0 / 442.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2692, allocations: 28.05 kB / 442.9 MB, free: 33.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2692, allocations: 3.938 kB / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2692, allocations: 6.688 kB / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.2693, allocations: 0 / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2693, allocations: 6.938 kB / 442.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.2697, allocations: 381.7 kB / 443.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.2697, allocations: 100 kB / 443.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.2697, allocations: 10.31 kB / 443.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.27, allocations: 25.11 kB / 443.4 MB, free: 33.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.27, allocations: 21.75 kB / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2701, allocations: 3.094 kB / 443.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003913/0.2705, allocations: 234.5 kB / 443.7 MB, free: 33.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2705, allocations: 0 / 443.7 MB, free: 33.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.2707, allocations: 34.75 kB / 443.7 MB, free: 33.34 MB / 350.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000511/0.2712, allocations: 0.918 MB / 444.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.2715, allocations: 163.6 kB / 444.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2715, allocations: 0 / 444.8 MB, free: 32.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.2716, allocations: 86.75 kB / 444.9 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2718, allocations: 24.94 kB / 444.9 MB, free: 32.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.2743, allocations: 1.536 MB / 446.4 MB, free: 31.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2744, allocations: 0.7535 MB / 447.2 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.361e-05/0.2745, allocations: 45.8 kB / 447.2 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.2746, allocations: 54.42 kB / 447.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2746, allocations: 0 / 447.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6373/0.9119, allocations: 3.961 MB / 451.2 MB, free: 30.68 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.9121, allocations: 171.8 kB / 451.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/3.011, allocations: 2.75 kB / 451.4 MB, free: 30.43 MB / 350.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/linux/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) Environment - environmentSimulation: