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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1008/0.1008, allocations: 22.93 MB / 332.5 MB, free: 2.641 MB / 254.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 74.58 kB / 464.6 MB, free: 33.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1168, allocations: 59.26 MB / 0.5116 GB, free: 164 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.00241/0.1192, allocations: 1.113 MB / 0.5127 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.1212, allocations: 1.358 MB / 0.514 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1213, allocations: 0 / 0.514 GB, free: 13.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.1217, allocations: 67.56 kB / 0.5141 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.1219, allocations: 91.45 kB / 0.5142 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.1222, allocations: 139.8 kB / 0.5143 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.1228, allocations: 447.2 kB / 0.5147 GB, free: 12.94 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1229, allocations: 40.38 kB / 0.5148 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.1232, allocations: 175.5 kB / 0.5149 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1235, allocations: 191.3 kB / 0.5151 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.1235, allocations: 19.94 kB / 0.5151 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.575e-05/0.1235, allocations: 20 kB / 0.5151 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1237, allocations: 99.64 kB / 0.5152 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1238, allocations: 103.3 kB / 0.5153 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.1241, allocations: 226.8 kB / 0.5155 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1241, allocations: 0 / 0.5155 GB, free: 12.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1241, allocations: 4 kB / 0.5156 GB, free: 12.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1241, allocations: 0 / 0.5156 GB, free: 12.08 MB / 382.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.001796/0.1259, allocations: 0.7009 MB / 0.5162 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.126, allocations: 12.62 kB / 0.5162 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.561e-05/0.126, allocations: 8.188 kB / 0.5163 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.863e-05/0.1261, allocations: 58.8 kB / 0.5163 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.1261, allocations: 28.75 kB / 0.5163 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009462/0.1271, allocations: 407.6 kB / 0.5167 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.1271, allocations: 8.609 kB / 0.5167 GB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.013e-05/0.1272, allocations: 24.36 kB / 0.5168 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.1275, allocations: 172.8 kB / 0.5169 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1275, allocations: 4 kB / 0.5169 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1275, allocations: 8 kB / 0.5169 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1275, allocations: 7.938 kB / 0.5169 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000272/0.1278, allocations: 151.9 kB / 0.5171 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.1289, allocations: 0.68 MB / 0.5178 GB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.1294, allocations: 189.2 kB / 0.5179 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1295, allocations: 81.67 kB / 0.518 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1296, allocations: 4 kB / 0.518 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1296, allocations: 34.56 kB / 0.518 GB, free: 9.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.613e-06/0.1296, allocations: 0 / 0.518 GB, free: 9.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002743/0.1323, allocations: 1.304 MB / 0.5193 GB, free: 7.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.1324, allocations: 81.11 kB / 0.5194 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/0.1333, allocations: 427.2 kB / 0.5198 GB, free: 7.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.1333, allocations: 29.7 kB / 0.5198 GB, free: 7.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1335, allocations: 160.6 kB / 0.52 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.1336, allocations: 111 kB / 0.5201 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1337, allocations: 53.7 kB / 0.5201 GB, free: 7.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1338, allocations: 338.8 kB / 0.5205 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.134, allocations: 103.9 kB / 0.5206 GB, free: 6.594 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.1342, allocations: 146.4 kB / 0.5207 GB, free: 6.445 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.1346, allocations: 252.3 kB / 0.5209 GB, free: 6.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1346, allocations: 3.984 kB / 0.521 GB, free: 6.191 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000534/0.1352, allocations: 315 kB / 0.5213 GB, free: 5.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.1352, allocations: 8.094 kB / 0.5213 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1352, allocations: 3.938 kB / 0.5213 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1352, allocations: 0 / 0.5213 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.1356, allocations: 75.91 kB / 0.5213 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.1356, allocations: 4 kB / 0.5213 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003603/0.136, allocations: 51.92 kB / 0.5214 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.136, allocations: 4 kB / 0.5214 GB, free: 5.734 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 (32): * Single equations (assignments): 32 * 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.0001817/0.1362, allocations: 165.6 kB / 0.5216 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.1362, allocations: 31.81 kB / 0.5216 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1364, allocations: 45.95 kB / 0.5216 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.1364, allocations: 7.938 kB / 0.5216 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1364, allocations: 0 / 0.5216 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.1364, allocations: 7.984 kB / 0.5216 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.1375, allocations: 0.785 MB / 0.5224 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1375, allocations: 0 / 0.5224 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.1379, allocations: 63.91 kB / 0.5225 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.1379, allocations: 4 kB / 0.5225 GB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1379, allocations: 8 kB / 0.5225 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1379, allocations: 8 kB / 0.5225 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1379, allocations: 0 / 0.5225 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.1387, allocations: 0.633 MB / 0.5231 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1389, allocations: 113 kB / 0.5232 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.718e-05/0.1389, allocations: 8 kB / 0.5232 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.1393, allocations: 51.92 kB / 0.5233 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.1394, allocations: 15.92 kB / 0.5233 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.1394, allocations: 11.94 kB / 0.5233 GB, free: 3.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008157/0.1402, allocations: 337.8 kB / 0.5236 GB, free: 3.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1402, allocations: 0 / 0.5236 GB, free: 3.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1406, allocations: 48 kB / 0.5237 GB, free: 3.301 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 ($outputAlias_y2,P22.x_scaled[1],$outputAlias_y1,P12.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 (28): * Single equations (assignments): 28 * 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.001206/0.1418, allocations: 1.169 MB / 0.5248 GB, free: 2.102 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.1423, allocations: 254.4 kB / 0.525 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1423, allocations: 0 / 0.525 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.1425, allocations: 123.8 kB / 0.5252 GB, free: 1.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.143, allocations: 58.53 kB / 0.5252 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006245/0.1492, allocations: 3.521 MB / 0.5287 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005108/0.1497, allocations: 0.8029 MB / 0.5294 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.1499, allocations: 70.92 kB / 0.5295 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.1501, allocations: 95.41 kB / 0.5296 GB, free: 13.07 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1501, allocations: 0 / 0.5296 GB, free: 13.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.1734, allocations: 5.718 MB / 0.5352 GB, free: 7.445 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.847/9.02, allocations: 13.02 kB / 0.5352 GB, free: 7.438 MB / 398.1 MB " [Timeout remaining time 651] (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 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.882455207000021] Failed to read output from testmodel.py, exit status != 0: 9.150099676975515 9.174163538 9.045652275 Calling exit ...