Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",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.0009868/0.0009868, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00736/0.00736, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2077/0.2077, allocations: 22.34 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 8 kB / 380.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2323, allocations: 55.98 MB / 436.6 MB, free: 38.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.001268/0.2336, allocations: 1.354 MB / 438 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003119/0.2339, allocations: 157.4 kB / 438.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.2339, allocations: 4 kB / 438.1 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.234, allocations: 3.938 kB / 438.1 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.824e-05/0.2341, allocations: 22.81 kB / 438.2 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001654/0.2342, allocations: 31.86 kB / 438.2 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2343, allocations: 82.36 kB / 438.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.2345, allocations: 33.2 kB / 438.3 MB, free: 37.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.761e-05/0.2345, allocations: 23.64 kB / 438.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.663e-05/0.2345, allocations: 24.95 kB / 438.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.2346, allocations: 2.812 kB / 438.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.2346, allocations: 2.844 kB / 438.4 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2346, allocations: 15.11 kB / 438.4 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.2346, allocations: 50.2 kB / 438.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.2347, allocations: 77.78 kB / 438.5 MB, free: 37.19 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2347, allocations: 11.22 kB / 438.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2347, allocations: 0 / 438.5 MB, free: 37.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.2347, allocations: 0 / 438.5 MB, free: 37.18 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002935/0.235, allocations: 372 kB / 438.9 MB, free: 36.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2351, allocations: 12.62 kB / 438.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.701e-05/0.2351, allocations: 38.34 kB / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.38e-05/0.2351, allocations: 8.531 kB / 438.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.2353, allocations: 207.9 kB / 439.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2353, allocations: 7.344 kB / 439.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2353, allocations: 7.344 kB / 439.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.2354, allocations: 73.78 kB / 439.2 MB, free: 36.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2354, allocations: 3.938 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2355, allocations: 0 / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2355, allocations: 3 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.081e-05/0.2355, allocations: 23.16 kB / 439.2 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.2359, allocations: 351.7 kB / 439.6 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.2361, allocations: 64.67 kB / 439.6 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.2362, allocations: 17.17 kB / 439.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2362, allocations: 3.984 kB / 439.7 MB, free: 36.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.044e-05/0.2362, allocations: 38.5 kB / 439.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2362, allocations: 2.906 kB / 439.7 MB, free: 36.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001904/0.2364, allocations: 76.98 kB / 439.8 MB, free: 35.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.2365, allocations: 57.84 kB / 439.8 MB, free: 35.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.514e-05/0.2365, allocations: 145 kB / 440 MB, free: 35.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.2366, allocations: 28.14 kB / 440 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.575e-05/0.2366, allocations: 98.23 kB / 440.1 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.2366, allocations: 26.62 kB / 440.1 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.053e-05/0.2366, allocations: 12.38 kB / 440.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.604e-05/0.2367, allocations: 318.3 kB / 440.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.2367, allocations: 17 kB / 440.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.337e-05/0.2368, allocations: 20.36 kB / 440.5 MB, free: 35.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.426e-05/0.2369, allocations: 41.33 kB / 440.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2369, allocations: 0 / 440.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001128/0.237, allocations: 78.3 kB / 440.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.237, allocations: 9.438 kB / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.237, allocations: 0 / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.237, allocations: 0 / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.2371, allocations: 14.33 kB / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2371, allocations: 0 / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.2371, allocations: 3.938 kB / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.2371, allocations: 2.844 kB / 440.6 MB, free: 35.23 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 (7): * Single equations (assignments): 7 * 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 4.705e-05/0.2372, allocations: 120.6 kB / 440.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2372, allocations: 13.88 kB / 440.8 MB, free: 35.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.2373, allocations: 15.73 kB / 440.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2373, allocations: 3 kB / 440.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2373, allocations: 0 / 440.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2373, allocations: 3.938 kB / 440.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.2374, allocations: 195.6 kB / 441 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2374, allocations: 0 / 441 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.2375, allocations: 9.062 kB / 441 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2375, allocations: 3.469 kB / 441 MB, free: 34.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2375, allocations: 4 kB / 441 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2375, allocations: 2.812 kB / 441 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2375, allocations: 0 / 441 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.2377, allocations: 186.2 kB / 441.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.139e-05/0.2377, allocations: 91.83 kB / 441.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2378, allocations: 7.938 kB / 441.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.2378, allocations: 6.312 kB / 441.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.2379, allocations: 7.125 kB / 441.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2379, allocations: 3.328 kB / 441.3 MB, free: 34.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.2379, allocations: 111.9 kB / 441.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2379, allocations: 0 / 441.4 MB, free: 34.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002256/0.2382, allocations: 12.19 kB / 441.4 MB, free: 34.5 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * 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.0002758/0.2385, allocations: 0.7104 MB / 442.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2386, allocations: 43.31 kB / 442.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2386, allocations: 4 kB / 442.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.2386, allocations: 15.66 kB / 442.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.2389, allocations: 17.5 kB / 442.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.24, allocations: 1.552 MB / 443.8 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.871e-05/0.2401, allocations: 0.6954 MB / 444.5 MB, free: 31.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.052e-05/0.2401, allocations: 10.52 kB / 444.5 MB, free: 31.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.155e-05/0.2401, allocations: 28.34 kB / 444.5 MB, free: 31.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2402, allocations: 3.938 kB / 444.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.271, allocations: 1.94 MB / 446.4 MB, free: 31.53 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001502/1.271, allocations: 158.1 kB / 446.6 MB, free: 31.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.843, allocations: 0 / 446.6 MB, free: 31.28 MB / 350.1 MB (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)