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.006929/0.006929, allocations: 102 kB / 15.73 MB, free: 6.051 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.001372/0.001372, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0941/0.0941, allocations: 22.33 MB / 312.9 MB, free: 8.852 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.88 kB / 434.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1118, allocations: 54.95 MB / 489.4 MB, free: 7.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.003366/0.1152, allocations: 1.431 MB / 490.8 MB, free: 5.914 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.1156, allocations: 111.6 kB / 490.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.1157, allocations: 0 / 490.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.1158, allocations: 0 / 490.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.1159, allocations: 7.875 kB / 490.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.1162, allocations: 31.95 kB / 490.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1163, allocations: 31.86 kB / 491 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1165, allocations: 16 kB / 491 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.756e-05/0.1165, allocations: 15.92 kB / 491 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1166, allocations: 19.86 kB / 491 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.1166, allocations: 0 / 491 MB, free: 5.684 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.1166, allocations: 4 kB / 491 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.1167, allocations: 3.984 kB / 491 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.1167, allocations: 15.88 kB / 491 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.752e-05/0.1168, allocations: 27.84 kB / 491.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1168, allocations: 0 / 491.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1168, allocations: 0 / 491.1 MB, free: 5.633 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.1168, allocations: 0 / 491.1 MB, free: 5.633 MB / 366.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.0004892/0.1173, allocations: 347.6 kB / 491.4 MB, free: 5.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1174, allocations: 8.031 kB / 491.4 MB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.1174, allocations: 42.69 kB / 491.5 MB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1175, allocations: 4.844 kB / 491.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1178, allocations: 176.3 kB / 491.6 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1178, allocations: 8.375 kB / 491.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1178, allocations: 8.359 kB / 491.7 MB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.118, allocations: 46.14 kB / 491.7 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.118, allocations: 7.938 kB / 491.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.118, allocations: 0 / 491.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.118, allocations: 0 / 491.7 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.118, allocations: 15.98 kB / 491.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1185, allocations: 272.8 kB / 492 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.228e-05/0.1186, allocations: 30.56 kB / 492 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.985e-05/0.1186, allocations: 12.92 kB / 492 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.1186, allocations: 0 / 492 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1187, allocations: 30.56 kB / 492.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1187, allocations: 0 / 492.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001908/0.1189, allocations: 53.55 kB / 492.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1189, allocations: 55.39 kB / 492.2 MB, free: 4.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.119, allocations: 113.8 kB / 492.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1191, allocations: 29.83 kB / 492.3 MB, free: 4.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.728e-05/0.1191, allocations: 91.98 kB / 492.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1192, allocations: 15.89 kB / 492.4 MB, free: 4.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1192, allocations: 9.719 kB / 492.4 MB, free: 4.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1194, allocations: 322.8 kB / 492.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.1194, allocations: 0 / 492.7 MB, free: 3.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.1194, allocations: 4 kB / 492.7 MB, free: 3.734 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.1195, allocations: 24.84 kB / 492.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1195, allocations: 0 / 492.8 MB, free: 3.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.734e-05/0.1195, allocations: 50.02 kB / 492.8 MB, free: 3.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1196, allocations: 4 kB / 492.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.1196, allocations: 0 / 492.8 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1196, allocations: 7.984 kB / 492.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.517e-05/0.1197, allocations: 7.938 kB / 492.8 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1197, allocations: 0 / 492.8 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.014e-05/0.1197, allocations: 0 / 492.8 MB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1197, allocations: 0 / 492.8 MB, free: 3.633 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 (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 0.0001021/0.1198, allocations: 118.5 kB / 493 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.1199, allocations: 11.91 kB / 493 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.1199, allocations: 3.531 kB / 493 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1199, allocations: 4 kB / 493 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1199, allocations: 3.938 kB / 493 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1199, allocations: 144 / 493 MB, free: 3.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.1202, allocations: 290.5 kB / 493.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.1202, allocations: 3.984 kB / 493.3 MB, free: 3.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.1203, allocations: 4 kB / 493.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1203, allocations: 0 / 493.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1203, allocations: 4.031 kB / 493.3 MB, free: 3.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1203, allocations: 4 kB / 493.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1203, allocations: 3.938 kB / 493.3 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1205, allocations: 143.5 kB / 493.4 MB, free: 2.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.1206, allocations: 81.02 kB / 493.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1206, allocations: 0 / 493.5 MB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.1206, allocations: 7.984 kB / 493.5 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.1207, allocations: 12.06 kB / 493.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1207, allocations: 0 / 493.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.1207, allocations: 91.27 kB / 493.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1207, allocations: 0 / 493.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000217/0.121, allocations: 4 kB / 493.6 MB, free: 2.754 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.0004211/0.1214, allocations: 0.6734 MB / 494.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.28e-05/0.1215, allocations: 15.94 kB / 494.3 MB, free: 2.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1215, allocations: 4 kB / 494.3 MB, free: 2.035 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.41e-05/0.1215, allocations: 4 kB / 494.3 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.1218, allocations: 20.14 kB / 494.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/0.1231, allocations: 1.277 MB / 495.6 MB, free: 0.6523 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1234, allocations: 0.6807 MB / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.413e-05/0.1235, allocations: 11.98 kB / 496.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.1235, allocations: 11.44 kB / 496.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1235, allocations: 3.938 kB / 496.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.1439, allocations: 1.407 MB / 497.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.085/7.229, allocations: 14 kB / 497.7 MB, free: 14.55 MB / 382.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)