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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 120.2 kB / 17.83 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 207.6 MB / 231.2 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3451/0.3451, allocations: 44.22 MB / 327.3 MB, free: 6.746 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.89 kB / 462.9 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3055, allocations: 61 MB / 0.5116 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003897/0.3094, allocations: 3.445 MB / 0.515 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3106, allocations: 0.8403 MB / 0.5158 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001776/0.3108, allocations: 9.469 kB / 0.5158 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.3109, allocations: 79.16 kB / 0.5159 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3111, allocations: 120.2 kB / 0.516 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.3114, allocations: 131.4 kB / 0.5161 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.3117, allocations: 0.5185 MB / 0.5166 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002529/0.312, allocations: 177 kB / 0.5168 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.3122, allocations: 223.3 kB / 0.517 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.3125, allocations: 234.2 kB / 0.5172 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-05/0.3125, allocations: 49.5 kB / 0.5173 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.576e-05/0.3126, allocations: 48.12 kB / 0.5173 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.3127, allocations: 113.3 kB / 0.5174 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3129, allocations: 247.7 kB / 0.5177 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004702/0.3133, allocations: 0.5603 MB / 0.5182 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3133, allocations: 0 / 0.5182 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3133, allocations: 0.9688 kB / 0.5182 GB, free: 8.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3134, allocations: 0 / 0.5182 GB, free: 8.102 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.001121/0.3145, allocations: 0.7675 MB / 0.519 GB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3145, allocations: 15.89 kB / 0.519 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.546e-05/0.3145, allocations: 17.12 kB / 0.519 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.226e-05/0.3146, allocations: 86.7 kB / 0.5191 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.693e-05/0.3147, allocations: 52.66 kB / 0.5191 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.315, allocations: 333.4 kB / 0.5195 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.3151, allocations: 29.38 kB / 0.5195 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.417e-05/0.3151, allocations: 48.38 kB / 0.5195 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006755/0.3158, allocations: 462.9 kB / 0.52 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3158, allocations: 3.938 kB / 0.52 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.3159, allocations: 16 kB / 0.52 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3159, allocations: 16 kB / 0.52 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.3165, allocations: 319.8 kB / 0.5203 GB, free: 5.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.3183, allocations: 1.682 MB / 0.522 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.3188, allocations: 228.9 kB / 0.5222 GB, free: 3.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.3191, allocations: 129.7 kB / 0.5223 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3191, allocations: 7.984 kB / 0.5223 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.3191, allocations: 38.55 kB / 0.5223 GB, free: 3.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.412e-06/0.3191, allocations: 0 / 0.5223 GB, free: 3.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002604/0.3217, allocations: 1.349 MB / 0.5237 GB, free: 2.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.3218, allocations: 85.11 kB / 0.5237 GB, free: 2.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.322, allocations: 266.5 kB / 0.524 GB, free: 1.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.322, allocations: 29.7 kB / 0.524 GB, free: 1.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3221, allocations: 268.1 kB / 0.5243 GB, free: 1.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.3221, allocations: 122.9 kB / 0.5244 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.3222, allocations: 78.08 kB / 0.5245 GB, free: 1.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.309e-05/0.3223, allocations: 342.8 kB / 0.5248 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.3226, allocations: 112.8 kB / 0.5249 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.3228, allocations: 216.2 kB / 0.5251 GB, free: 0.668 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.3234, allocations: 338.6 kB / 0.5254 GB, free: 304 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3234, allocations: 4 kB / 0.5254 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008208/0.3242, allocations: 418.2 kB / 0.5258 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3242, allocations: 8 kB / 0.5258 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3242, allocations: 4 kB / 0.5259 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001571/0.3244, allocations: 36.78 kB / 0.5259 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.3249, allocations: 119.8 kB / 0.526 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.3262, allocations: 1.434 MB / 0.5274 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.3265, allocations: 23.92 kB / 0.5274 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.3265, allocations: 24.06 kB / 0.5274 GB, free: 14.08 MB / 398.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.0002244/0.3267, allocations: 161.8 kB / 0.5276 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.3268, allocations: 35.75 kB / 0.5276 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.481e-05/0.3269, allocations: 38.17 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3269, allocations: 4 kB / 0.5277 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3269, allocations: 0 / 0.5277 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3269, allocations: 3.984 kB / 0.5277 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.3281, allocations: 0.7077 MB / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3281, allocations: 0 / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.3285, allocations: 95.86 kB / 0.5285 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.23e-05/0.3286, allocations: 36.84 kB / 0.5285 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3286, allocations: 4 kB / 0.5285 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.3299, allocations: 1.434 MB / 0.5299 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3299, allocations: 0 / 0.5299 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.331, allocations: 0.6165 MB / 0.5305 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.3311, allocations: 116.9 kB / 0.5306 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.481e-05/0.3311, allocations: 8 kB / 0.5306 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002961/0.3314, allocations: 31.86 kB / 0.5307 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.3315, allocations: 23.97 kB / 0.5307 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.3315, allocations: 8 kB / 0.5307 GB, free: 10.51 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.3317, allocations: 193.9 kB / 0.5309 GB, free: 10.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3317, allocations: 0 / 0.5309 GB, free: 10.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004808/0.3322, allocations: 92 kB / 0.531 GB, free: 10.23 MB / 398.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.001404/0.3336, allocations: 1.136 MB / 0.5321 GB, free: 9.059 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008853/0.3345, allocations: 390.4 kB / 0.5324 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3345, allocations: 0 / 0.5324 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.3349, allocations: 249.4 kB / 0.5327 GB, free: 8.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3354, allocations: 40.41 kB / 0.5327 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005263/0.3407, allocations: 3.488 MB / 0.5361 GB, free: 4.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.3411, allocations: 0.8151 MB / 0.5369 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.3413, allocations: 38.95 kB / 0.537 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.3415, allocations: 139.4 kB / 0.5371 GB, free: 3.676 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3415, allocations: 0 / 0.5371 GB, free: 3.676 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.3708, allocations: 6.542 MB / 0.5435 GB, free: 13.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.48, allocations: 16.42 kB / 0.5435 GB, free: 13.11 MB / 414.1 MB " [Timeout remaining time 648] (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 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.450079992006067] Failed to read output from testmodel.py, exit status != 0: ['time', 'converter.Phi', 'converter.i', 'converter1.i', 'eddyCurrent.Phi', 'leakageWithCoefficient.port_p.Phi'] 11.632049567007925 11.658739841 11.340637087 Calling exit ...