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.001467/0.001467, allocations: 109 kB / 19.74 MB, free: 2.582 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.001612/0.001612, allocations: 217.6 kB / 22.92 MB, free: 5.559 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.301/1.301, allocations: 230.2 MB / 256.1 MB, free: 8.605 MB / 206.1 MB " [Timeout remaining time 179] 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.2038/0.2038, allocations: 46.89 MB / 359.3 MB, free: 4.961 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.002099/0.002099, allocations: 79.86 kB / 0.494 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2525, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003184/0.2557, allocations: 2.137 MB / 0.5605 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.2576, allocations: 1.402 MB / 0.5619 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.2577, allocations: 4 kB / 0.5619 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.58e-05/0.2578, allocations: 27.66 kB / 0.5619 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2579, allocations: 35.66 kB / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.2583, allocations: 191.3 kB / 0.5621 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.2585, allocations: 180.1 kB / 0.5623 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001743/0.2587, allocations: 97.14 kB / 0.5624 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.2588, allocations: 87.64 kB / 0.5625 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2589, allocations: 91.48 kB / 0.5626 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.259, allocations: 16 kB / 0.5626 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002818/0.2593, allocations: 151.9 kB / 0.5627 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.2593, allocations: 39.83 kB / 0.5628 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.672e-05/0.2594, allocations: 91.48 kB / 0.5629 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.2598, allocations: 326.5 kB / 0.5632 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2598, allocations: 0 / 0.5632 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2598, allocations: 0 / 0.5632 GB, free: 328 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2598, allocations: 7.938 kB / 0.5632 GB, free: 320 kB / 398.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.0006114/0.2604, allocations: 0.5259 MB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2604, allocations: 8.031 kB / 0.5637 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.2605, allocations: 91.16 kB / 0.5638 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008424/0.2614, allocations: 88.69 kB / 0.5639 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.2616, allocations: 220 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.2616, allocations: 21.03 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.2616, allocations: 32.38 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.262, allocations: 230.2 kB / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.262, allocations: 0 / 0.5643 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.262, allocations: 16 kB / 0.5644 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.262, allocations: 8 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.2623, allocations: 158.5 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.2632, allocations: 0.6479 MB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.2636, allocations: 219.4 kB / 0.5654 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2638, allocations: 65.28 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.2638, allocations: 4.234 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.2638, allocations: 34.8 kB / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.192e-06/0.2638, allocations: 0 / 0.5655 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004257/0.2642, allocations: 224.5 kB / 0.5657 GB, free: 13.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.2643, allocations: 59.34 kB / 0.5657 GB, free: 13.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.432e-05/0.2643, allocations: 105.8 kB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2644, allocations: 29.7 kB / 0.5659 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.2644, allocations: 144.6 kB / 0.566 GB, free: 13.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.988e-05/0.2645, allocations: 95.16 kB / 0.5661 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.2646, allocations: 45.7 kB / 0.5661 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2647, allocations: 318.8 kB / 0.5664 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.892e-05/0.2648, allocations: 43.98 kB / 0.5665 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.248e-05/0.2649, allocations: 48.89 kB / 0.5665 GB, free: 12.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/0.2651, allocations: 121.3 kB / 0.5666 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2651, allocations: 0 / 0.5666 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002646/0.2654, allocations: 169.5 kB / 0.5668 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2654, allocations: 4 kB / 0.5668 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2654, allocations: 4 kB / 0.5668 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2654, allocations: 0 / 0.5668 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.2657, allocations: 103.9 kB / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2657, allocations: 0 / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.2658, allocations: 16.14 kB / 0.5669 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.2658, allocations: 11.94 kB / 0.5669 GB, free: 12.21 MB / 414.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.0001005/0.2659, allocations: 121.8 kB / 0.5671 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.266, allocations: 15.95 kB / 0.5671 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.266, allocations: 29.53 kB / 0.5671 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.266, allocations: 11.88 kB / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.266, allocations: 0 / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.266, allocations: 3.984 kB / 0.5671 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.2663, allocations: 281.4 kB / 0.5674 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2663, allocations: 0 / 0.5674 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.2667, allocations: 103.9 kB / 0.5675 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.2667, allocations: 0 / 0.5675 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.2667, allocations: 11.94 kB / 0.5675 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2667, allocations: 3.938 kB / 0.5675 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2667, allocations: 0 / 0.5675 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.267, allocations: 279.6 kB / 0.5678 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.267, allocations: 89 kB / 0.5678 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2671, allocations: 8 kB / 0.5679 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.767e-05/0.2671, allocations: 15.92 kB / 0.5679 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.2672, allocations: 11.98 kB / 0.5679 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.2672, allocations: 8 kB / 0.5679 GB, free: 11.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.2672, allocations: 87.27 kB / 0.568 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2672, allocations: 0 / 0.568 GB, free: 11.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.2675, allocations: 55.73 kB / 0.568 GB, free: 11.01 MB / 414.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.0006816/0.2682, allocations: 0.8647 MB / 0.5689 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.2684, allocations: 128.3 kB / 0.569 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2684, allocations: 0 / 0.569 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.2685, allocations: 72.36 kB / 0.5691 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.2687, allocations: 15.94 kB / 0.5691 GB, free: 9.902 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.2708, allocations: 1.989 MB / 0.571 GB, free: 7.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.2711, allocations: 0.7435 MB / 0.5717 GB, free: 7.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.391e-05/0.2712, allocations: 21.41 kB / 0.5718 GB, free: 7.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.2713, allocations: 67.41 kB / 0.5718 GB, free: 6.973 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2713, allocations: 0 / 0.5718 GB, free: 6.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.2925, allocations: 2.757 MB / 0.5745 GB, free: 4.277 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.324, allocations: 13 kB / 0.5745 GB, free: 4.27 MB / 414.1 MB " [Timeout remaining time 653] (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 --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: 9.804770631002611]