Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_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.004687/0.004687, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001098/0.001098, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.225/0.225, allocations: 22.36 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 71.36 kB / 434.4 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09579, allocations: 54.96 MB / 489.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.001904/0.09773, allocations: 1.44 MB / 490.8 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002743/0.09803, allocations: 111.6 kB / 491 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.09809, allocations: 0 / 491 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.832e-05/0.09813, allocations: 3.938 kB / 491 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.083e-05/0.0982, allocations: 11.94 kB / 491 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.09842, allocations: 23.84 kB / 491 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.627e-05/0.09852, allocations: 35.92 kB / 491 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.09863, allocations: 15.98 kB / 491 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.357e-05/0.09866, allocations: 15.92 kB / 491.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.09871, allocations: 15.92 kB / 491.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.09873, allocations: 0 / 491.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.395e-06/0.09875, allocations: 7.938 kB / 491.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.09876, allocations: 3.938 kB / 491.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.09879, allocations: 11.94 kB / 491.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.331e-05/0.09886, allocations: 27.84 kB / 491.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.09887, allocations: 4 kB / 491.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09888, allocations: 0 / 491.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.09889, allocations: 0 / 491.1 MB, free: 2.137 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000314/0.09921, allocations: 348.2 kB / 491.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.09925, allocations: 12.03 kB / 491.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/0.0993, allocations: 30.75 kB / 491.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.09933, allocations: 4.938 kB / 491.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.09948, allocations: 180.2 kB / 491.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.0995, allocations: 16.31 kB / 491.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.09952, allocations: 384 / 491.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.0996, allocations: 42.25 kB / 491.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.09961, allocations: 3.938 kB / 491.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.09963, allocations: 0 / 491.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.09963, allocations: 0 / 491.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.09966, allocations: 12 kB / 491.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.09993, allocations: 276.7 kB / 492 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.09998, allocations: 30.58 kB / 492.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.1, allocations: 8.922 kB / 492.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-06/0.1, allocations: 0 / 492.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.191e-05/0.1, allocations: 34.56 kB / 492.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1, allocations: 0 / 492.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.00013/0.1002, allocations: 49.62 kB / 492.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.1002, allocations: 55.53 kB / 492.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.944e-05/0.1003, allocations: 117.8 kB / 492.3 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.1003, allocations: 25.7 kB / 492.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.758e-05/0.1003, allocations: 96.03 kB / 492.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.1003, allocations: 7.906 kB / 492.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.1004, allocations: 13.72 kB / 492.5 MB, free: 0.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.108e-05/0.1004, allocations: 322.8 kB / 492.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.282e-05/0.1004, allocations: 4 kB / 492.8 MB, free: 260 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.1004, allocations: 8 kB / 492.8 MB, free: 252 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.553e-05/0.1005, allocations: 24.8 kB / 492.8 MB, free: 224 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1005, allocations: 0 / 492.8 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.199e-05/0.1005, allocations: 49.59 kB / 492.9 MB, free: 168 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.1005, allocations: 8 kB / 492.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.1005, allocations: 0 / 492.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1006, allocations: 0 / 492.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.1006, allocations: 4 kB / 492.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1006, allocations: 0 / 492.9 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.1007, allocations: 3.938 kB / 492.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1007, allocations: 8.359 kB / 492.9 MB, free: 144 kB / 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 (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 4.521e-05/0.1007, allocations: 126.5 kB / 493 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1007, allocations: 3.906 kB / 493 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.1008, allocations: 11.47 kB / 493 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1008, allocations: 4.078 kB / 493 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1008, allocations: 0 / 493 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1008, allocations: 3.984 kB / 493 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/0.101, allocations: 282.6 kB / 493.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1011, allocations: 4.031 kB / 493.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.62e-05/0.1011, allocations: 7.984 kB / 493.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1011, allocations: 0 / 493.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.1011, allocations: 0 / 493.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1011, allocations: 0 / 493.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1012, allocations: 3.938 kB / 493.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.1013, allocations: 143.5 kB / 493.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.81e-05/0.1013, allocations: 81.02 kB / 493.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.1014, allocations: 12.12 kB / 493.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.1014, allocations: 0 / 493.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.1014, allocations: 3.938 kB / 493.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.1014, allocations: 3.938 kB / 493.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.1015, allocations: 91.27 kB / 493.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1015, allocations: 0 / 493.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.1017, allocations: 8 kB / 493.7 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (2): * Single equations (assignments): 2 * 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.0003409/0.102, allocations: 0.6772 MB / 494.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.655e-05/0.1021, allocations: 15.98 kB / 494.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1021, allocations: 0 / 494.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.1021, allocations: 4 kB / 494.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.1024, allocations: 14.19 kB / 494.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1034, allocations: 1.274 MB / 495.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1037, allocations: 0.6924 MB / 496.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.618e-05/0.1037, allocations: 3.938 kB / 496.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1037, allocations: 11.56 kB / 496.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1038, allocations: 0 / 496.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.1234, allocations: 1.422 MB / 497.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.404/7.528, allocations: 7.922 kB / 497.8 MB, free: 11.06 MB / 366.1 MB (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)