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.00205/0.00205, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.003101/0.003101, allocations: 217 kB / 23 MB, free: 5.578 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.595/1.595, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.2363/0.2363, allocations: 46.9 MB / 359.4 MB, free: 4.969 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.0025/0.0025, allocations: 79.88 kB / 0.4941 GB, free: 8.988 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3057, allocations: 65.99 MB / 0.5586 GB, free: 5.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003468/0.3092, allocations: 2.133 MB / 0.5607 GB, free: 2.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002282/0.3114, allocations: 1.406 MB / 0.562 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.3115, allocations: 4 kB / 0.562 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.87e-05/0.3116, allocations: 23.67 kB / 0.5621 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.3117, allocations: 35.66 kB / 0.5621 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.3123, allocations: 199.3 kB / 0.5623 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.3125, allocations: 180.1 kB / 0.5625 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.3127, allocations: 89.11 kB / 0.5626 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.3129, allocations: 83.64 kB / 0.5626 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.313, allocations: 99.47 kB / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.313, allocations: 12 kB / 0.5627 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.3133, allocations: 155.9 kB / 0.5629 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.3134, allocations: 39.86 kB / 0.5629 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.372e-05/0.3135, allocations: 95.45 kB / 0.563 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.3139, allocations: 322.5 kB / 0.5633 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3139, allocations: 0 / 0.5633 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3139, allocations: 0 / 0.5633 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3139, allocations: 0 / 0.5633 GB, free: 260 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.0006539/0.3146, allocations: 0.5322 MB / 0.5638 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.3146, allocations: 8.031 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.987e-05/0.3147, allocations: 91.16 kB / 0.5639 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009103/0.3156, allocations: 80.7 kB / 0.564 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.3159, allocations: 224 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.3159, allocations: 25.03 kB / 0.5643 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.316, allocations: 32.38 kB / 0.5643 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.3164, allocations: 230.2 kB / 0.5645 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3164, allocations: 0 / 0.5645 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.3164, allocations: 20 kB / 0.5645 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.3164, allocations: 8 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.3167, allocations: 166.5 kB / 0.5647 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009015/0.3176, allocations: 0.648 MB / 0.5653 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/0.3181, allocations: 215.3 kB / 0.5655 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.3183, allocations: 61.3 kB / 0.5656 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3183, allocations: 240 / 0.5656 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3183, allocations: 42.8 kB / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.042e-06/0.3183, allocations: 0 / 0.5656 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004449/0.3188, allocations: 220.5 kB / 0.5658 GB, free: 13.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3188, allocations: 55.34 kB / 0.5659 GB, free: 13.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.3189, allocations: 105.8 kB / 0.566 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3189, allocations: 29.7 kB / 0.566 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.319, allocations: 152.6 kB / 0.5662 GB, free: 13.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.3191, allocations: 91.19 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.529e-05/0.3191, allocations: 45.7 kB / 0.5663 GB, free: 12.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3193, allocations: 322.8 kB / 0.5666 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.3194, allocations: 39.97 kB / 0.5666 GB, free: 12.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.3194, allocations: 52.89 kB / 0.5667 GB, free: 12.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3197, allocations: 113.3 kB / 0.5668 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3197, allocations: 0 / 0.5668 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002929/0.32, allocations: 177.5 kB / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.32, allocations: 4 kB / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.32, allocations: 0 / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.32, allocations: 0 / 0.567 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.3204, allocations: 99.88 kB / 0.5671 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3204, allocations: 4 kB / 0.5671 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.067e-05/0.3204, allocations: 15.89 kB / 0.5671 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3204, allocations: 12 kB / 0.5671 GB, free: 12.15 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.0001113/0.3206, allocations: 125.8 kB / 0.5672 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.3206, allocations: 7.953 kB / 0.5672 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.855e-05/0.3207, allocations: 29.52 kB / 0.5673 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.3207, allocations: 7.938 kB / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3207, allocations: 0 / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3207, allocations: 0 / 0.5673 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.321, allocations: 293.4 kB / 0.5675 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.321, allocations: 0 / 0.5675 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.3214, allocations: 99.89 kB / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3214, allocations: 0 / 0.5676 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3214, allocations: 8.234 kB / 0.5676 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.256e-06/0.3214, allocations: 11.88 kB / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3214, allocations: 4 kB / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.3217, allocations: 275.6 kB / 0.5679 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.3218, allocations: 92.98 kB / 0.568 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.3218, allocations: 4 kB / 0.568 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.131e-05/0.3219, allocations: 11.94 kB / 0.568 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.3219, allocations: 15.98 kB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.322, allocations: 7.984 kB / 0.568 GB, free: 11.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.085e-05/0.322, allocations: 83.28 kB / 0.5681 GB, free: 11 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.322, allocations: 0 / 0.5681 GB, free: 11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3223, allocations: 63.73 kB / 0.5682 GB, free: 10.94 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.0007615/0.323, allocations: 0.8647 MB / 0.569 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.3233, allocations: 128.3 kB / 0.5692 GB, free: 9.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3233, allocations: 7.938 kB / 0.5692 GB, free: 9.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3234, allocations: 72.36 kB / 0.5692 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3237, allocations: 15.94 kB / 0.5692 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3259, allocations: 1.982 MB / 0.5712 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3263, allocations: 0.7474 MB / 0.5719 GB, free: 6.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.133e-05/0.3264, allocations: 17.41 kB / 0.5719 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3265, allocations: 67.42 kB / 0.572 GB, free: 6.902 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3265, allocations: 0 / 0.572 GB, free: 6.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.35, allocations: 2.772 MB / 0.5747 GB, free: 4.195 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.176/8.526, allocations: 7.625 kB / 0.5747 GB, free: 4.191 MB / 414.1 MB " [Timeout remaining time 651] (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.460014642012538] 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.595441600016784 8.611611712 8.294249946999999 Calling exit ...