Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.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.001871/0.001871, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002318/0.002318, allocations: 206.6 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2337/0.2337, allocations: 46.92 MB / 357.7 MB, free: 10.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica 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.003338/0.003338, allocations: 83.86 kB / 0.4917 GB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1373, allocations: 66.03 MB / 0.5562 GB, free: 5.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004172/0.1415, allocations: 2.121 MB / 0.5582 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002481/0.1439, allocations: 1.394 MB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.144, allocations: 4 kB / 0.5596 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 7.2e-05/0.1441, allocations: 27.67 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1442, allocations: 35.59 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.1448, allocations: 195.3 kB / 0.5599 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.145, allocations: 176.1 kB / 0.56 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.1452, allocations: 91.31 kB / 0.5601 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1454, allocations: 87.64 kB / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001109/0.1455, allocations: 87.55 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.1455, allocations: 20 kB / 0.5603 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.1458, allocations: 155.9 kB / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/0.1458, allocations: 39.86 kB / 0.5605 GB, free: 1.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.146, allocations: 91.45 kB / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004546/0.1465, allocations: 326.5 kB / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1465, allocations: 0 / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1465, allocations: 0 / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1465, allocations: 0 / 0.5609 GB, free: 0.7422 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007038/0.1472, allocations: 0.5298 MB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.1472, allocations: 12.03 kB / 0.5614 GB, free: 152 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001416/0.1474, allocations: 95.14 kB / 0.5615 GB, free: 44 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.1483, allocations: 84.69 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.1486, allocations: 216 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.1486, allocations: 21.03 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.1487, allocations: 36.38 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004229/0.1491, allocations: 230.2 kB / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1491, allocations: 0 / 0.5621 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.1491, allocations: 16 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1491, allocations: 11.94 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.1495, allocations: 162.5 kB / 0.5622 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1505, allocations: 0.6518 MB / 0.5629 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.1511, allocations: 211.4 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.1512, allocations: 65.25 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1512, allocations: 4.219 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1513, allocations: 38.8 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.874e-06/0.1513, allocations: 0 / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005091/0.1518, allocations: 210 kB / 0.5634 GB, free: 13.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1518, allocations: 63.28 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.1519, allocations: 109.8 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1519, allocations: 29.7 kB / 0.5636 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.152, allocations: 148.6 kB / 0.5637 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.473e-05/0.1521, allocations: 95.17 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.245e-05/0.1522, allocations: 37.72 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1523, allocations: 322.8 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1525, allocations: 43.97 kB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/0.1525, allocations: 48.89 kB / 0.5642 GB, free: 13.07 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.1528, allocations: 117.3 kB / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.1528, allocations: 0 / 0.5644 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002945/0.1531, allocations: 173.5 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1531, allocations: 5.562 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1531, allocations: 0 / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1531, allocations: 0 / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/0.1535, allocations: 107.9 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1535, allocations: 0 / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.1536, allocations: 15.89 kB / 0.5646 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1536, allocations: 8 kB / 0.5647 GB, free: 12.64 MB / 430.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 (27): * Single equations (assignments): 27 * 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.0001504/0.1537, allocations: 133.8 kB / 0.5648 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.1538, allocations: 7.953 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.787e-05/0.1538, allocations: 21.53 kB / 0.5648 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.1538, allocations: 7.938 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1539, allocations: 4.25 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1539, allocations: 3.984 kB / 0.5648 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000337/0.1542, allocations: 293.4 kB / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1542, allocations: 0 / 0.5651 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003477/0.1545, allocations: 107.8 kB / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1546, allocations: 4 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1546, allocations: 4 kB / 0.5652 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1546, allocations: 7.938 kB / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1546, allocations: 0 / 0.5652 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003431/0.1549, allocations: 279.6 kB / 0.5655 GB, free: 11.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.155, allocations: 89 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.155, allocations: 4 kB / 0.5656 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.1551, allocations: 7.938 kB / 0.5656 GB, free: 11.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.1551, allocations: 23.97 kB / 0.5656 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1552, allocations: 7.938 kB / 0.5656 GB, free: 11.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.791e-05/0.1552, allocations: 83.28 kB / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1552, allocations: 0 / 0.5657 GB, free: 11.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1555, allocations: 63.73 kB / 0.5658 GB, free: 11.42 MB / 430.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 (27): * Single equations (assignments): 27 * 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.0008177/0.1563, allocations: 0.8647 MB / 0.5666 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1566, allocations: 128.3 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1566, allocations: 0 / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1567, allocations: 72.36 kB / 0.5668 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.157, allocations: 11.94 kB / 0.5668 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1594, allocations: 1.981 MB / 0.5687 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.1598, allocations: 0.7474 MB / 0.5695 GB, free: 7.484 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.644e-05/0.1599, allocations: 13.41 kB / 0.5695 GB, free: 7.469 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.16, allocations: 67.42 kB / 0.5695 GB, free: 7.402 MB / 430.1 MB Notification: Performance of SimCode: time 7.61e-07/0.16, allocations: 4 kB / 0.5695 GB, free: 7.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.1832, allocations: 2.788 MB / 0.5723 GB, free: 4.691 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.433, allocations: 12.75 kB / 0.5723 GB, free: 4.68 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.647047515958548] Failed to read output from testmodel.py, exit status != 0: ['time', 'ydegC', 'ydegF', 'ydegRk', 'ydeg', 'yrpm', 'ykmh', 'yday', 'yhour', 'yminute', 'ylitre', 'ykWh', 'ybar', 'ygps'] 8.501445026136935 8.523391337 8.372676951 Calling exit ...