Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001631/0.001631, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001954/0.001954, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 230.5 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 75.81 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.119, allocations: 53.32 MB / 427 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002955/0.1219, allocations: 1.536 MB / 428.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.1229, allocations: 0.5336 MB / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.1229, allocations: 0 / 429 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.1231, allocations: 23.86 kB / 429.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.1231, allocations: 11.88 kB / 429.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.1233, allocations: 39.89 kB / 429.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1234, allocations: 55.91 kB / 429.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.1235, allocations: 8 kB / 429.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.1237, allocations: 43.78 kB / 429.2 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.818e-05/0.1238, allocations: 27.91 kB / 429.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1238, allocations: 4 kB / 429.2 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.835e-05/0.1239, allocations: 23.98 kB / 429.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.1239, allocations: 7.938 kB / 429.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.369e-05/0.1239, allocations: 27.86 kB / 429.3 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1241, allocations: 83.66 kB / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1241, allocations: 0 / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1241, allocations: 0 / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.1241, allocations: 0 / 429.4 MB, free: 2.406 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006927/0.1248, allocations: 383.2 kB / 429.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1249, allocations: 11.97 kB / 429.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.1249, allocations: 34.75 kB / 429.8 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.1249, allocations: 12.88 kB / 429.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.1251, allocations: 168.4 kB / 430 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1251, allocations: 4.312 kB / 430 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1251, allocations: 4.375 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.1254, allocations: 85.77 kB / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1254, allocations: 0 / 430.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1254, allocations: 4 kB / 430.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.1254, allocations: 4 kB / 430.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.1258, allocations: 83.91 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.1262, allocations: 308.6 kB / 430.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1265, allocations: 70.53 kB / 430.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.1266, allocations: 48.94 kB / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.1267, allocations: 0 / 430.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.1267, allocations: 38.59 kB / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1267, allocations: 0 / 430.6 MB, free: 1 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006019/0.1273, allocations: 153.5 kB / 430.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.1273, allocations: 59.34 kB / 430.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.674e-05/0.1274, allocations: 105.8 kB / 430.9 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1274, allocations: 29.7 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1275, allocations: 92.09 kB / 431.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.1275, allocations: 20.22 kB / 431.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.244e-05/0.1276, allocations: 17.7 kB / 431.1 MB, free: 500 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1277, allocations: 322.8 kB / 431.4 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1279, allocations: 39.95 kB / 431.4 MB, free: 128 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.128, allocations: 39.84 kB / 431.5 MB, free: 88 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.1283, allocations: 84.78 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1283, allocations: 0 / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003918/0.1287, allocations: 114 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1288, allocations: 4 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.1288, allocations: 4 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1288, allocations: 4 kB / 431.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.1289, allocations: 19.98 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1289, allocations: 0 / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.105e-05/0.129, allocations: 15.98 kB / 431.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.129, allocations: 7.875 kB / 431.7 MB, free: 15.83 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 (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 prepare postOptimizeDAE: time 0.0001188/0.1291, allocations: 117.8 kB / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.1292, allocations: 0 / 431.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004293/0.1296, allocations: 129.6 kB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1296, allocations: 0 / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1296, allocations: 4 kB / 432 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1296, allocations: 3.984 kB / 432 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.1298, allocations: 189.5 kB / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1298, allocations: 0 / 432.2 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.13, allocations: 23.92 kB / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.13, allocations: 0 / 432.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.13, allocations: 11.98 kB / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.13, allocations: 0 / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.13, allocations: 0 / 432.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004303/0.1304, allocations: 211.4 kB / 432.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.1305, allocations: 89.05 kB / 432.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.1305, allocations: 7.984 kB / 432.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.1306, allocations: 15.92 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.1306, allocations: 4 kB / 432.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1306, allocations: 7.984 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.223e-05/0.1307, allocations: 91.22 kB / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1307, allocations: 0 / 432.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1309, allocations: 11.94 kB / 432.6 MB, free: 14.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0007881/0.1317, allocations: 0.7596 MB / 433.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003859/0.1321, allocations: 91.84 kB / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1321, allocations: 0 / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.1323, allocations: 47.91 kB / 433.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1326, allocations: 11.98 kB / 433.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.1331, allocations: 187.6 kB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.1334, allocations: 0.6885 MB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.1334, allocations: 4 kB / 434.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.1335, allocations: 23.42 kB / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1335, allocations: 0 / 434.4 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02341/0.1569, allocations: 2.038 MB / 436.5 MB, free: 11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.075/8.232, allocations: 0 / 436.5 MB, free: 11 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.01968080829829] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 8.301300594117492 8.580236915 8.195944626 Calling exit ...