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.001326/0.001326, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001595/0.001595, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.536/1.536, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2343/0.2343, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.00233/0.00233, allocations: 79.88 kB / 0.4912 GB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1269, allocations: 65.98 MB / 0.5557 GB, free: 6.414 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003607/0.1305, allocations: 2.125 MB / 0.5577 GB, free: 4.266 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1328, allocations: 1.387 MB / 0.5591 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1329, allocations: 4 kB / 0.5591 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.492e-05/0.133, allocations: 23.67 kB / 0.5591 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1331, allocations: 39.64 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.1336, allocations: 191.3 kB / 0.5593 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1339, allocations: 188 kB / 0.5595 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1341, allocations: 91.33 kB / 0.5596 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1343, allocations: 83.64 kB / 0.5597 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1344, allocations: 87.55 kB / 0.5598 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.1344, allocations: 16 kB / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003979/0.1348, allocations: 159.9 kB / 0.5599 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.1349, allocations: 39.84 kB / 0.56 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.135, allocations: 91.47 kB / 0.5601 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.1355, allocations: 318.6 kB / 0.5604 GB, free: 1.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.1355, allocations: 0 / 0.5604 GB, free: 1.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1355, allocations: 7.938 kB / 0.5604 GB, free: 1.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1355, allocations: 0 / 0.5604 GB, free: 1.559 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.0007681/0.1363, allocations: 0.5259 MB / 0.5609 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1363, allocations: 12.03 kB / 0.5609 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.1365, allocations: 91.14 kB / 0.561 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009498/0.1374, allocations: 88.69 kB / 0.5611 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.1377, allocations: 216 kB / 0.5613 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1378, allocations: 21.03 kB / 0.5613 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/0.1378, allocations: 28.38 kB / 0.5613 GB, free: 496 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.1382, allocations: 238.2 kB / 0.5616 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1383, allocations: 0 / 0.5616 GB, free: 252 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.1383, allocations: 16 kB / 0.5616 GB, free: 236 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1383, allocations: 8 kB / 0.5616 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.1386, allocations: 162.5 kB / 0.5617 GB, free: 64 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1397, allocations: 0.648 MB / 0.5624 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.1402, allocations: 215.4 kB / 0.5626 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1403, allocations: 61.3 kB / 0.5626 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1404, allocations: 4.234 kB / 0.5626 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1404, allocations: 34.8 kB / 0.5627 GB, free: 15.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.823e-06/0.1404, allocations: 0 / 0.5627 GB, free: 15.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.000491/0.1409, allocations: 218 kB / 0.5629 GB, free: 14.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1409, allocations: 63.33 kB / 0.5629 GB, free: 14.74 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.141, allocations: 105.8 kB / 0.563 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1411, allocations: 29.7 kB / 0.5631 GB, free: 14.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.1412, allocations: 156.5 kB / 0.5632 GB, free: 14.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.1412, allocations: 91.17 kB / 0.5633 GB, free: 14.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.1413, allocations: 45.64 kB / 0.5633 GB, free: 14.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1415, allocations: 330.8 kB / 0.5637 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.1416, allocations: 35.98 kB / 0.5637 GB, free: 13.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.95e-05/0.1417, allocations: 48.89 kB / 0.5637 GB, free: 13.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.1419, allocations: 117.3 kB / 0.5639 GB, free: 13.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1419, allocations: 0 / 0.5639 GB, free: 13.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002893/0.1422, allocations: 165.5 kB / 0.564 GB, free: 13.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1422, allocations: 13.7 kB / 0.564 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1422, allocations: 0 / 0.564 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1422, allocations: 7.938 kB / 0.564 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.1426, allocations: 95.89 kB / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1426, allocations: 0 / 0.5641 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.1427, allocations: 19.88 kB / 0.5641 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1427, allocations: 8 kB / 0.5642 GB, free: 13.46 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.0001265/0.1428, allocations: 129.8 kB / 0.5643 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.1429, allocations: 11.95 kB / 0.5643 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.037e-05/0.1429, allocations: 25.53 kB / 0.5643 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1429, allocations: 7.938 kB / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1429, allocations: 0 / 0.5643 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1429, allocations: 3.984 kB / 0.5643 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.1433, allocations: 285.4 kB / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1433, allocations: 0 / 0.5646 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.1437, allocations: 103.9 kB / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1437, allocations: 7.922 kB / 0.5647 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1437, allocations: 8 kB / 0.5647 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1437, allocations: 4.188 kB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1437, allocations: 4 kB / 0.5647 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.144, allocations: 275.6 kB / 0.565 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.15e-05/0.1441, allocations: 93 kB / 0.5651 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.1441, allocations: 4 kB / 0.5651 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.1442, allocations: 11.94 kB / 0.5651 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.1443, allocations: 23.91 kB / 0.5651 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.1443, allocations: 4 kB / 0.5651 GB, free: 12.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.1444, allocations: 83.28 kB / 0.5652 GB, free: 12.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1444, allocations: 0 / 0.5652 GB, free: 12.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1447, allocations: 59.73 kB / 0.5652 GB, free: 12.24 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.0008102/0.1455, allocations: 0.8686 MB / 0.5661 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1457, allocations: 124.3 kB / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1457, allocations: 0 / 0.5662 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1459, allocations: 72.36 kB / 0.5663 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.1461, allocations: 19.88 kB / 0.5663 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.1485, allocations: 1.977 MB / 0.5682 GB, free: 9.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.1489, allocations: 0.7473 MB / 0.569 GB, free: 8.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.149, allocations: 21.41 kB / 0.569 GB, free: 8.281 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.1491, allocations: 67.41 kB / 0.569 GB, free: 8.215 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1491, allocations: 0 / 0.569 GB, free: 8.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.1739, allocations: 2.792 MB / 0.5718 GB, free: 5.504 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.135/8.309, allocations: 288 / 0.5718 GB, free: 5.504 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.219293088186532] 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.379475248977542 8.402180741 8.263441561 Calling exit ...