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.001592/0.001592, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001876/0.001876, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.531/1.531, allocations: 230.5 MB / 258.2 MB, free: 8.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.2478/0.2478, allocations: 46.93 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 179] 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.002401/0.002401, allocations: 76.06 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3904, allocations: 66.08 MB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00371/0.3941, allocations: 2.137 MB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.3966, allocations: 1.402 MB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.3968, allocations: 11.94 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.97e-05/0.3969, allocations: 19.73 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.397, allocations: 39.66 kB / 0.565 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.3976, allocations: 199.2 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.3979, allocations: 180.1 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002354/0.3981, allocations: 89.84 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.3983, allocations: 87.66 kB / 0.5656 GB, free: 120 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.3984, allocations: 95.48 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.662e-05/0.3984, allocations: 16 kB / 0.5657 GB, free: 8 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.3988, allocations: 151.9 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.3988, allocations: 39.84 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.781e-05/0.3989, allocations: 103.4 kB / 0.566 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.3993, allocations: 318.6 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3993, allocations: 0 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3993, allocations: 0 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.3993, allocations: 0 / 0.5663 GB, free: 15.41 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.000633/0.4, allocations: 465.5 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4, allocations: 12.03 kB / 0.5667 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001095/0.4001, allocations: 87.2 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009182/0.401, allocations: 76.7 kB / 0.5669 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.4014, allocations: 166.1 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.4014, allocations: 24.97 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.4014, allocations: 32.38 kB / 0.5671 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004211/0.4018, allocations: 234.2 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4019, allocations: 0 / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.4019, allocations: 16 kB / 0.5673 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.4019, allocations: 11.94 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.4022, allocations: 162.5 kB / 0.5675 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009102/0.4031, allocations: 0.6015 MB / 0.5681 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.4036, allocations: 212.3 kB / 0.5683 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.4037, allocations: 65.3 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.4037, allocations: 4.172 kB / 0.5684 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.4038, allocations: 42.8 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.202e-06/0.4038, allocations: 0 / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004784/0.4043, allocations: 215.8 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.4043, allocations: 55.34 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.4044, allocations: 109.8 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.4044, allocations: 33.7 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.4045, allocations: 152.5 kB / 0.5689 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.4e-05/0.4046, allocations: 95.17 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.476e-05/0.4046, allocations: 41.7 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.4048, allocations: 322.8 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.4049, allocations: 39.97 kB / 0.5694 GB, free: 12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.405, allocations: 53.59 kB / 0.5695 GB, free: 11.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.4052, allocations: 117.3 kB / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4052, allocations: 0 / 0.5696 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002785/0.4055, allocations: 169.5 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4055, allocations: 6.5 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4055, allocations: 0 / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.4055, allocations: 0 / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.4059, allocations: 107.8 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4059, allocations: 4 kB / 0.5699 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.343e-05/0.4059, allocations: 11.95 kB / 0.5699 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4059, allocations: 8 kB / 0.5699 GB, free: 11.52 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.000119/0.4061, allocations: 129.7 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.4061, allocations: 19.88 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.639e-05/0.4062, allocations: 25.62 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.4062, allocations: 11.94 kB / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4062, allocations: 0 / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4062, allocations: 0 / 0.57 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.4065, allocations: 256.5 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4065, allocations: 0 / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.4069, allocations: 91.95 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4069, allocations: 3.938 kB / 0.5704 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.4069, allocations: 11.98 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.4069, allocations: 7.938 kB / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4069, allocations: 0 / 0.5704 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.4073, allocations: 279.5 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.4073, allocations: 15.84 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.4073, allocations: 8 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.4074, allocations: 8.188 kB / 0.5707 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.4074, allocations: 23.97 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4075, allocations: 8 kB / 0.5707 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.4075, allocations: 87.27 kB / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4075, allocations: 0 / 0.5708 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003356/0.4078, allocations: 55.78 kB / 0.5709 GB, free: 10.43 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.0008368/0.4087, allocations: 0.8725 MB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.409, allocations: 123.9 kB / 0.5718 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.409, allocations: 0 / 0.5718 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.4091, allocations: 72.78 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.4094, allocations: 22.97 kB / 0.5719 GB, free: 9.312 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/0.4118, allocations: 1.976 MB / 0.5739 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.4122, allocations: 0.7473 MB / 0.5746 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.948e-05/0.4123, allocations: 17.41 kB / 0.5746 GB, free: 6.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.4124, allocations: 71.41 kB / 0.5747 GB, free: 6.402 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4124, allocations: 0 / 0.5747 GB, free: 6.402 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.4366, allocations: 2.873 MB / 0.5775 GB, free: 3.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.47, allocations: 4.062 kB / 0.5775 GB, free: 3.582 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.595322399865836] 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.54304333589971 8.572578404 8.168379795 Calling exit ...