Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009345, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3361/0.3361, allocations: 43.58 MB / 315 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004986, allocations: 16 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 58.86 MB / 443.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003421/0.1172, allocations: 3.076 MB / 446.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1185, allocations: 0.8227 MB / 447.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.1187, allocations: 8 kB / 447.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1188, allocations: 55.55 kB / 447.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1191, allocations: 99.16 kB / 447.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003391/0.1194, allocations: 107.9 kB / 447.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.1199, allocations: 0.4945 MB / 448.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.1202, allocations: 207 kB / 448.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1205, allocations: 175.3 kB / 448.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.1207, allocations: 203 kB / 448.8 MB, free: 7.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.181e-05/0.1208, allocations: 24 kB / 448.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.484e-05/0.1208, allocations: 28 kB / 448.8 MB, free: 7.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.4e-05/0.1209, allocations: 91.59 kB / 448.9 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1211, allocations: 236.6 kB / 449.1 MB, free: 7.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.1215, allocations: 0.5252 MB / 449.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1215, allocations: 0 / 449.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1216, allocations: 0 / 449.7 MB, free: 6.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1216, allocations: 0 / 449.7 MB, free: 6.633 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001157/0.1227, allocations: 0.6941 MB / 450.4 MB, free: 5.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1228, allocations: 8.031 kB / 450.4 MB, free: 5.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.93e-05/0.1229, allocations: 90.7 kB / 450.5 MB, free: 5.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.972e-05/0.123, allocations: 52.28 kB / 450.5 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.1233, allocations: 313.4 kB / 450.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.1234, allocations: 37.38 kB / 450.8 MB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.1235, allocations: 44.38 kB / 450.9 MB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007775/0.1242, allocations: 479 kB / 451.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1243, allocations: 0 / 451.4 MB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/0.1243, allocations: 16 kB / 451.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1243, allocations: 15.94 kB / 451.4 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006914/0.125, allocations: 343.8 kB / 451.7 MB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/0.1273, allocations: 1.693 MB / 453.4 MB, free: 2.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.1278, allocations: 245 kB / 453.7 MB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003072/0.1281, allocations: 141.7 kB / 453.8 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1282, allocations: 0 / 453.8 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1282, allocations: 50.95 kB / 453.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.002e-06/0.1282, allocations: 3.938 kB / 453.8 MB, free: 2.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002768/0.131, allocations: 1.357 MB / 455.2 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.131, allocations: 81.11 kB / 455.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1313, allocations: 266.6 kB / 455.5 MB, free: 348 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1313, allocations: 33.7 kB / 455.6 MB, free: 308 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1315, allocations: 259.4 kB / 455.8 MB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.161/0.2925, allocations: 113 kB / 455.9 MB, free: 46.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.2926, allocations: 40.2 kB / 456 MB, free: 46.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.2926, allocations: 344.4 kB / 456.3 MB, free: 46.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.2929, allocations: 115.4 kB / 456.4 MB, free: 46.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.2932, allocations: 210.9 kB / 456.6 MB, free: 46.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.2937, allocations: 346.5 kB / 457 MB, free: 45.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2937, allocations: 0 / 457 MB, free: 45.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007194/0.2944, allocations: 431.1 kB / 457.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2945, allocations: 10.66 kB / 457.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.2945, allocations: 3 kB / 457.4 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.2946, allocations: 31.59 kB / 457.4 MB, free: 45.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.295, allocations: 124 kB / 457.6 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006354/0.2957, allocations: 1.338 MB / 458.9 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.2959, allocations: 18.52 kB / 458.9 MB, free: 44.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2959, allocations: 15.22 kB / 458.9 MB, free: 44.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001438/0.2961, allocations: 174.9 kB / 459.1 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.256e-05/0.2961, allocations: 32.78 kB / 459.1 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.2962, allocations: 35.12 kB / 459.2 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2962, allocations: 5.938 kB / 459.2 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2962, allocations: 0 / 459.2 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2962, allocations: 0 / 459.2 MB, free: 44.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008288/0.2971, allocations: 0.7211 MB / 459.9 MB, free: 44.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2971, allocations: 9.75 kB / 459.9 MB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.2974, allocations: 97.73 kB / 460 MB, free: 44.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-05/0.2975, allocations: 29.44 kB / 460 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2975, allocations: 6.906 kB / 460 MB, free: 44.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000511/0.298, allocations: 1.332 MB / 461.4 MB, free: 42.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2981, allocations: 3.938 kB / 461.4 MB, free: 42.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007481/0.2988, allocations: 0.6173 MB / 462 MB, free: 42.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-05/0.2989, allocations: 124.2 kB / 462.1 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.133e-05/0.2989, allocations: 10.38 kB / 462.1 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2992, allocations: 21.34 kB / 462.1 MB, free: 42.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.2992, allocations: 31.7 kB / 462.2 MB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.2993, allocations: 10.75 kB / 462.2 MB, free: 42.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.2994, allocations: 185.7 kB / 462.4 MB, free: 42.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2994, allocations: 0 / 462.4 MB, free: 42.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003873/0.2998, allocations: 90.84 kB / 462.5 MB, free: 42.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000902/0.3007, allocations: 1.166 MB / 463.6 MB, free: 41.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.3013, allocations: 417.3 kB / 464 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3013, allocations: 0 / 464 MB, free: 41.49 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.3016, allocations: 256.9 kB / 464.3 MB, free: 41.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000456/0.3021, allocations: 41.41 kB / 464.3 MB, free: 41.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.3055, allocations: 3.776 MB / 468.1 MB, free: 39.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/0.3057, allocations: 0.814 MB / 468.9 MB, free: 38.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.3059, allocations: 38.59 kB / 468.9 MB, free: 38.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.3061, allocations: 139 kB / 469.1 MB, free: 38.45 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3061, allocations: 0 / 469.1 MB, free: 38.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/1.656, allocations: 5.887 MB / 475 MB, free: 37.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.656, allocations: 213.6 kB / 475.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.992/4.648, allocations: 3 kB / 475.2 MB, free: 37.66 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)