Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.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.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Sensors,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, 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.001302/0.001302, 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.476/1.476, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2421/0.2421, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.002159/0.002159, allocations: 82.3 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.101, allocations: 62.46 MB / 480.2 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.002978/0.104, allocations: 1.925 MB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008967/0.1049, allocations: 0.5959 MB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.267e-05/0.105, allocations: 4 kB / 482.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.1052, allocations: 43.7 kB / 482.8 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.941e-05/0.1053, allocations: 35.64 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.1054, allocations: 47.89 kB / 482.9 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.1056, allocations: 147.5 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1057, allocations: 61.52 kB / 483.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.1058, allocations: 59.72 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.1059, allocations: 59.77 kB / 483.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.106, allocations: 19.94 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.661e-05/0.106, allocations: 12 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/0.106, allocations: 27.92 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.1061, allocations: 75.64 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.1063, allocations: 159.7 kB / 483.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1063, allocations: 4 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1063, allocations: 0 / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1063, allocations: 0 / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0006045/0.1069, allocations: 439.3 kB / 483.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.1069, allocations: 8.031 kB / 483.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.612e-05/0.107, allocations: 50.73 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.1071, allocations: 16.75 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.1073, allocations: 208 kB / 484.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1073, allocations: 8.656 kB / 484.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1073, allocations: 12.38 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1076, allocations: 144.8 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1076, allocations: 0 / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1076, allocations: 8 kB / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1076, allocations: 0 / 484.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.1079, allocations: 116.7 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.1088, allocations: 0.6066 MB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.1091, allocations: 78.55 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1092, allocations: 24.97 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1092, allocations: 0 / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1093, allocations: 34.56 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.1093, allocations: 0 / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003719/0.1096, allocations: 109.5 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1097, allocations: 51.41 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1098, allocations: 161.5 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.1099, allocations: 25.7 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.523e-05/0.11, allocations: 135.5 kB / 485.7 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.11, allocations: 19.75 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.11, allocations: 33.61 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1102, allocations: 318.8 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1103, allocations: 27.97 kB / 486.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1104, allocations: 64.27 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.1106, allocations: 104.1 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1106, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002794/0.1109, allocations: 125.5 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1109, allocations: 4 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.111, allocations: 4.25 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.111, allocations: 3.938 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1111, allocations: 31.97 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1111, allocations: 4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.804e-05/0.1112, allocations: 11.94 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.1112, allocations: 7.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * 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 9.764e-05/0.1113, allocations: 129.8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.1114, allocations: 11.81 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.1114, allocations: 8.312 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1114, allocations: 11.88 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1114, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1114, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.1117, allocations: 205.6 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1117, allocations: 0 / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.647e-05/0.1118, allocations: 15.98 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1118, allocations: 4 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1118, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.1118, allocations: 7.938 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1118, allocations: 0 / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.1121, allocations: 179.4 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.1121, allocations: 93 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.1121, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.1122, allocations: 11.94 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1123, allocations: 7.984 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1123, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.1124, allocations: 118.2 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1126, allocations: 27.84 kB / 487.2 MB, free: 13.71 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 (5): * Single equations (assignments): 5 * 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.0005182/0.1131, allocations: 0.7162 MB / 488 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1134, allocations: 71.89 kB / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1134, allocations: 0 / 488 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.46e-05/0.1135, allocations: 36.34 kB / 488.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.1138, allocations: 6.359 kB / 488.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.1156, allocations: 1.651 MB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.1159, allocations: 0.7041 MB / 490.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.28e-05/0.116, allocations: 8.672 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.1161, allocations: 39.42 kB / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.994e-06/0.1161, allocations: 0 / 490.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/0.2628, allocations: 2.106 MB / 492.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.455/7.717, allocations: 7.875 kB / 492.6 MB, free: 8.293 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Magnetic_FluxTubes_Sensors.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sensors.pipe 2>&1)