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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001282/0.001283, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2214/0.2214, allocations: 46.12 MB / 344.2 MB, free: 11.61 MB / 286.1 MB 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.002306/0.002306, allocations: 82.02 kB / 417.8 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1033, allocations: 62.44 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003439/0.1068, allocations: 2.118 MB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1091, allocations: 1.379 MB / 483.7 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.1092, allocations: 4 kB / 483.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.805e-05/0.1092, allocations: 27.66 kB / 483.7 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.1094, allocations: 31.66 kB / 483.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1098, allocations: 187.3 kB / 483.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1101, allocations: 184.1 kB / 484.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1103, allocations: 95.59 kB / 484.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1105, allocations: 87.58 kB / 484.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1106, allocations: 91.53 kB / 484.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.655e-05/0.1106, allocations: 20 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.1109, allocations: 151.9 kB / 484.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.111, allocations: 47.78 kB / 484.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.315e-05/0.1111, allocations: 91.47 kB / 484.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004037/0.1115, allocations: 303.3 kB / 485 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1115, allocations: 0 / 485 MB, free: 364 kB / 350.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1115, allocations: 4 kB / 485 MB, free: 360 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1115, allocations: 0 / 485 MB, free: 360 kB / 350.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.0006814/0.1122, allocations: 0.515 MB / 485.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.1122, allocations: 12.03 kB / 485.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001052/0.1124, allocations: 98.94 kB / 485.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009173/0.1133, allocations: 80.59 kB / 485.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1135, allocations: 216 kB / 485.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.1135, allocations: 21.03 kB / 485.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.1136, allocations: 32.38 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.114, allocations: 242.2 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.114, allocations: 4 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.114, allocations: 8 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.1141, allocations: 8 kB / 486.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.1144, allocations: 162.5 kB / 486.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.1154, allocations: 0.6594 MB / 487 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.1159, allocations: 223.4 kB / 487.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.1161, allocations: 73.3 kB / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.1161, allocations: 240 / 487.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1161, allocations: 38.8 kB / 487.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.102e-06/0.1161, allocations: 3.938 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004526/0.1166, allocations: 219.8 kB / 487.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.1166, allocations: 55.34 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.59e-05/0.1167, allocations: 109.8 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1168, allocations: 29.7 kB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.1168, allocations: 152.3 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/0.1169, allocations: 90.66 kB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.117, allocations: 41.7 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1171, allocations: 322.8 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.895e-05/0.1172, allocations: 39.98 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.1173, allocations: 51.95 kB / 488.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.1176, allocations: 114.2 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1176, allocations: 0 / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002876/0.1179, allocations: 165.5 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1179, allocations: 8 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1179, allocations: 3.984 kB / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1179, allocations: 0 / 488.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.1183, allocations: 103.8 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.1183, allocations: 4 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.43e-05/0.1184, allocations: 19.83 kB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1184, allocations: 4.25 kB / 488.9 MB, free: 12.24 MB / 366.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.000112/0.1185, allocations: 137.7 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.1186, allocations: 7.906 kB / 489 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.1186, allocations: 21.53 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.1187, allocations: 11.94 kB / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1187, allocations: 0 / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1187, allocations: 0 / 489 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.119, allocations: 297.2 kB / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.119, allocations: 0 / 489.3 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003831/0.1194, allocations: 99.94 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1194, allocations: 4 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1194, allocations: 4 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1195, allocations: 7.875 kB / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1195, allocations: 0 / 489.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.1198, allocations: 275.4 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.1199, allocations: 88.95 kB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1199, allocations: 4 kB / 489.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.12, allocations: 11.94 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1201, allocations: 15.97 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.1201, allocations: 11.98 kB / 489.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.394e-05/0.1201, allocations: 79.28 kB / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1201, allocations: 0 / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1204, allocations: 55.75 kB / 490 MB, free: 11.04 MB / 366.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.0007743/0.1212, allocations: 0.8767 MB / 490.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.1215, allocations: 144 kB / 491 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.1215, allocations: 0 / 491 MB, free: 9.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1217, allocations: 83.91 kB / 491.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.1219, allocations: 11.88 kB / 491.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.1241, allocations: 1.971 MB / 493.1 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1244, allocations: 0.7397 MB / 493.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.1246, allocations: 17.42 kB / 493.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.1247, allocations: 67.41 kB / 493.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1247, allocations: 0 / 493.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.1485, allocations: 2.7 MB / 496.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/7.943, allocations: 12.95 kB / 496.6 MB, free: 4.355 MB / 366.1 MB (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.00044 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1)