Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",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.005014/0.005014, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001213/0.001213, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08972/0.08972, allocations: 22.33 MB / 312.9 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 434.4 MB, free: 14.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.132, allocations: 54.94 MB / 489.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002186/0.1342, allocations: 1.108 MB / 490.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1359, allocations: 1.299 MB / 491.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.136, allocations: 4 kB / 491.8 MB, free: 4.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003498/0.1363, allocations: 59.56 kB / 491.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.1366, allocations: 91.58 kB / 491.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1369, allocations: 123.8 kB / 492 MB, free: 4.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004643/0.1373, allocations: 459.1 kB / 492.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.1375, allocations: 52.59 kB / 492.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1377, allocations: 183.4 kB / 492.7 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.138, allocations: 171.3 kB / 492.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.138, allocations: 16 kB / 492.9 MB, free: 3.836 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.283e-05/0.1381, allocations: 20 kB / 492.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1382, allocations: 99.66 kB / 493 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1383, allocations: 95.33 kB / 493.1 MB, free: 3.625 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.1386, allocations: 231.1 kB / 493.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1386, allocations: 0 / 493.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1386, allocations: 0 / 493.3 MB, free: 3.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1386, allocations: 0 / 493.3 MB, free: 3.398 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001734/0.1403, allocations: 0.7009 MB / 494 MB, free: 2.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.1404, allocations: 8.031 kB / 494 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.499e-05/0.1405, allocations: 50.64 kB / 494.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.1405, allocations: 24.66 kB / 494.1 MB, free: 2.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009008/0.1415, allocations: 407.3 kB / 494.5 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1415, allocations: 8.375 kB / 494.5 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.1415, allocations: 16.38 kB / 494.5 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.1418, allocations: 163.4 kB / 494.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1418, allocations: 3.938 kB / 494.7 MB, free: 1.926 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.1418, allocations: 8 kB / 494.7 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1419, allocations: 4 kB / 494.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1421, allocations: 151.8 kB / 494.9 MB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.1432, allocations: 0.6488 MB / 495.5 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1438, allocations: 221.2 kB / 495.7 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.1439, allocations: 73.69 kB / 495.8 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1439, allocations: 4 kB / 495.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.144, allocations: 34.56 kB / 495.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.144, allocations: 0 / 495.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005004/0.1445, allocations: 257.6 kB / 496.1 MB, free: 456 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1446, allocations: 81.11 kB / 496.2 MB, free: 356 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/0.1454, allocations: 427.1 kB / 496.6 MB, free: 15.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1455, allocations: 33.7 kB / 496.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1456, allocations: 160.2 kB / 496.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.1457, allocations: 47.27 kB / 496.8 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.1457, allocations: 41.7 kB / 496.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1459, allocations: 338.8 kB / 497.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.146, allocations: 59.95 kB / 497.2 MB, free: 15.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.1461, allocations: 77.67 kB / 497.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.1464, allocations: 157.5 kB / 497.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1464, allocations: 3.984 kB / 497.5 MB, free: 14.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003152/0.1467, allocations: 205.2 kB / 497.7 MB, free: 14.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1467, allocations: 8 kB / 497.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1467, allocations: 0 / 497.7 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1468, allocations: 7.938 kB / 497.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.147, allocations: 51.91 kB / 497.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.1471, allocations: 0 / 497.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.1474, allocations: 59.84 kB / 497.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1474, allocations: 8 kB / 497.8 MB, free: 14.64 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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.0001453/0.1476, allocations: 142.6 kB / 498 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.1476, allocations: 27.62 kB / 498 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.1477, allocations: 45.77 kB / 498 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1477, allocations: 0 / 498 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1477, allocations: 192 / 498 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1478, allocations: 3.984 kB / 498 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1482, allocations: 305.3 kB / 498.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1482, allocations: 3.938 kB / 498.3 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1484, allocations: 24 kB / 498.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1484, allocations: 0 / 498.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.1484, allocations: 15.92 kB / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1484, allocations: 0 / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1484, allocations: 0 / 498.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005236/0.149, allocations: 448.7 kB / 498.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.426e-05/0.1491, allocations: 112.8 kB / 498.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.1491, allocations: 7.938 kB / 498.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.1495, allocations: 51.92 kB / 499 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.1495, allocations: 11.97 kB / 499 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1495, allocations: 4 kB / 499 MB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000705/0.1503, allocations: 333.8 kB / 499.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1503, allocations: 0 / 499.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1506, allocations: 32 kB / 499.4 MB, free: 13.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.0008284/0.1514, allocations: 0.9885 MB / 0.4886 GB, free: 11.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.1517, allocations: 143.9 kB / 0.4887 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1517, allocations: 0 / 0.4887 GB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1518, allocations: 71.91 kB / 0.4888 GB, free: 11.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.1523, allocations: 47.42 kB / 0.4889 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00519/0.1575, allocations: 3.127 MB / 0.4919 GB, free: 8.527 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1579, allocations: 0.7753 MB / 0.4927 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001334/0.1581, allocations: 50.27 kB / 0.4927 GB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.1582, allocations: 87.41 kB / 0.4928 GB, free: 7.586 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1582, allocations: 4 kB / 0.4928 GB, free: 7.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1836, allocations: 4.907 MB / 0.4976 GB, free: 2.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/7.578, allocations: 11.88 kB / 0.4976 GB, free: 2.734 MB / 382.1 MB (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)