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.0009405/0.0009404, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009655/0.0009655, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.219/1.219, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1759/0.1759, allocations: 22.35 MB / 312.3 MB, free: 12.73 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 378.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.228, allocations: 54.94 MB / 433.1 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SOPDT_overdamped): time 0.002114/0.2301, allocations: 1.758 MB / 434.9 MB, free: 37.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006729/0.2308, allocations: 0.5839 MB / 435.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.2309, allocations: 3.969 kB / 435.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.2311, allocations: 33.84 kB / 435.5 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.2312, allocations: 52.66 kB / 435.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2314, allocations: 89.7 kB / 435.6 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.2316, allocations: 266.5 kB / 435.9 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.2317, allocations: 47 kB / 435.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.2318, allocations: 85.33 kB / 436 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2319, allocations: 120.5 kB / 436.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.232, allocations: 14.34 kB / 436.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.502e-05/0.232, allocations: 7.844 kB / 436.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2321, allocations: 62.66 kB / 436.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.071e-05/0.2322, allocations: 79.39 kB / 436.3 MB, free: 36.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.2323, allocations: 203.6 kB / 436.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2323, allocations: 0 / 436.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.2323, allocations: 0 / 436.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2323, allocations: 0 / 436.5 MB, free: 36.61 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.001102/0.2334, allocations: 0.5856 MB / 437.1 MB, free: 36.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2335, allocations: 18.75 kB / 437.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.2335, allocations: 40.47 kB / 437.1 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.2336, allocations: 23.94 kB / 437.1 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.2341, allocations: 329.7 kB / 437.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2341, allocations: 10.11 kB / 437.5 MB, free: 35.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.2341, allocations: 21.28 kB / 437.5 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.2344, allocations: 138.8 kB / 437.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2344, allocations: 2.875 kB / 437.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2344, allocations: 0 / 437.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2344, allocations: 2.938 kB / 437.6 MB, free: 35.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.2346, allocations: 124.4 kB / 437.8 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007224/0.2353, allocations: 0.5855 MB / 438.3 MB, free: 35.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002017/0.2356, allocations: 149.5 kB / 438.5 MB, free: 35.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.2357, allocations: 77.98 kB / 438.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2357, allocations: 0 / 438.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.2357, allocations: 37.75 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.2357, allocations: 3.938 kB / 438.6 MB, free: 35.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004007/0.2361, allocations: 261.6 kB / 438.9 MB, free: 35.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.475e-05/0.2361, allocations: 51.41 kB / 438.9 MB, free: 34.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.2366, allocations: 292.3 kB / 439.2 MB, free: 34.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2366, allocations: 32.52 kB / 439.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.745e-05/0.2367, allocations: 127.1 kB / 439.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.2367, allocations: 55.33 kB / 439.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.044e-05/0.2368, allocations: 38.41 kB / 439.4 MB, free: 34.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.2368, allocations: 334.8 kB / 439.8 MB, free: 34.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.237, allocations: 73.61 kB / 439.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.2371, allocations: 81.11 kB / 439.9 MB, free: 34.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.2373, allocations: 170.5 kB / 440.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2373, allocations: 0 / 440.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002647/0.2375, allocations: 225.7 kB / 440.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.2376, allocations: 5.781 kB / 440.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2376, allocations: 0 / 440.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.2376, allocations: 3.281 kB / 440.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/0.2379, allocations: 64.12 kB / 440.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.2379, allocations: 0 / 440.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.2381, allocations: 38.12 kB / 440.4 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.2382, allocations: 6.719 kB / 440.4 MB, free: 34.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.24e-05/0.2382, allocations: 140.4 kB / 440.6 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.761e-05/0.2383, allocations: 16.53 kB / 440.6 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.2384, allocations: 30.45 kB / 440.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2384, allocations: 2.844 kB / 440.6 MB, free: 33.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2384, allocations: 4 kB / 440.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2384, allocations: 0 / 440.6 MB, free: 33.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.2386, allocations: 309.8 kB / 440.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2386, allocations: 0 / 440.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.2388, allocations: 31.39 kB / 440.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2388, allocations: 0 / 440.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2388, allocations: 7.062 kB / 441 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2388, allocations: 0 / 441 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2388, allocations: 0 / 441 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.2392, allocations: 393.4 kB / 441.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.2393, allocations: 103.8 kB / 441.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.2393, allocations: 2.594 kB / 441.4 MB, free: 33.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.2396, allocations: 32.08 kB / 441.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.2396, allocations: 11.45 kB / 441.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.2396, allocations: 2.438 kB / 441.5 MB, free: 33.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.24, allocations: 239.7 kB / 441.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.24, allocations: 0 / 441.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000235/0.2403, allocations: 37.09 kB / 441.8 MB, free: 33.1 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 (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.0004917/0.2408, allocations: 0.9141 MB / 442.7 MB, free: 32.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.241, allocations: 170.2 kB / 442.8 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.241, allocations: 0 / 442.8 MB, free: 32.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.2411, allocations: 85.53 kB / 442.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.2414, allocations: 28.89 kB / 443 MB, free: 32.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00292/0.2444, allocations: 2.681 MB / 445.6 MB, free: 30.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2445, allocations: 0.744 MB / 446.4 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.292e-05/0.2446, allocations: 43.31 kB / 446.4 MB, free: 29.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.2447, allocations: 54.55 kB / 446.5 MB, free: 29.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2447, allocations: 0 / 446.5 MB, free: 29.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01175/0.2565, allocations: 4.131 MB / 450.6 MB, free: 29.36 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.2566, allocations: 173.6 kB / 450.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.216, allocations: 14.81 kB / 450.8 MB, free: 29.11 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/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)