Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001298/0.001298, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.001462/0.001462, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.422/1.422, allocations: 207.6 MB / 232.5 MB, free: 3.883 MB / 174.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",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.001715/0.001715, allocations: 51.94 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.0981, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005618/0.1037, allocations: 4.32 MB / 396.4 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1065, allocations: 1.641 MB / 398.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00029/0.1068, allocations: 15.88 kB / 398.1 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.1071, allocations: 126.8 kB / 398.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007434/0.1079, allocations: 369.6 kB / 398.6 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.1083, allocations: 243.6 kB / 398.8 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.1092, allocations: 0.9821 MB / 399.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.1095, allocations: 165.4 kB / 400 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004436/0.11, allocations: 382.7 kB / 400.3 MB, free: 444 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.1105, allocations: 426.3 kB / 400.7 MB, free: 16 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.1106, allocations: 96.05 kB / 400.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000349/0.111, allocations: 215.8 kB / 401.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1112, allocations: 195.3 kB / 401.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.1115, allocations: 422.1 kB / 401.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1128, allocations: 1.16 MB / 402.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1128, allocations: 0 / 402.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1128, allocations: 3.938 kB / 402.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1128, allocations: 0 / 402.8 MB, free: 13.94 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002459/0.1153, allocations: 1.125 MB / 403.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1153, allocations: 11.89 kB / 404 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.699e-05/0.1153, allocations: 13.5 kB / 404 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.1154, allocations: 98.7 kB / 404.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1156, allocations: 80.47 kB / 404.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.1164, allocations: 0.5149 MB / 404.7 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/0.1165, allocations: 75.56 kB / 404.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.1167, allocations: 68.12 kB / 404.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1178, allocations: 0.6019 MB / 405.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.1178, allocations: 0 / 405.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.354e-05/0.1179, allocations: 28 kB / 405.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.1179, allocations: 12 kB / 405.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.1191, allocations: 0.5321 MB / 406 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.1225, allocations: 2.291 MB / 408.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009926/0.1235, allocations: 458.2 kB / 408.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005375/0.124, allocations: 250 kB / 409 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1241, allocations: 7.938 kB / 409 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.437e-05/0.1241, allocations: 46.5 kB / 409 MB, free: 7.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.053e-06/0.1241, allocations: 0 / 409 MB, free: 7.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01348/0.1376, allocations: 3.556 MB / 412.6 MB, free: 3.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.1377, allocations: 85.67 kB / 412.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007573/0.1384, allocations: 0.537 MB / 413.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.1385, allocations: 37.7 kB / 413.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.1387, allocations: 316.9 kB / 413.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.1389, allocations: 226.1 kB / 413.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.1391, allocations: 114.3 kB / 413.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.1393, allocations: 362.8 kB / 414.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/0.1399, allocations: 253.2 kB / 414.5 MB, free: 1.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.1406, allocations: 344.4 kB / 414.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.1419, allocations: 0.6059 MB / 415.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1419, allocations: 3.938 kB / 415.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001658/0.1435, allocations: 0.7455 MB / 416.2 MB, free: 112 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1436, allocations: 15.89 kB / 416.2 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1436, allocations: 0 / 416.2 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.1438, allocations: 32.84 kB / 416.2 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/0.1446, allocations: 159.8 kB / 416.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.1459, allocations: 1.436 MB / 417.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/0.1465, allocations: 40.03 kB / 417.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-05/0.1466, allocations: 27.98 kB / 417.9 MB, free: 14.25 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0003124/0.1469, allocations: 197.7 kB / 418.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.147, allocations: 63.62 kB / 418.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.1489, allocations: 0.845 MB / 419 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.1489, allocations: 11.98 kB / 419 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.1489, allocations: 0 / 419 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.1489, allocations: 4 kB / 419 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.1527, allocations: 1.826 MB / 420.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.1527, allocations: 15.92 kB / 420.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005394/0.1532, allocations: 107.9 kB / 420.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002304/0.1556, allocations: 472.4 kB / 421.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.878e-05/0.1556, allocations: 19.98 kB / 421.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005268/0.1609, allocations: 3.15 MB / 424.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1609, allocations: 0 / 424.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.1639, allocations: 1.359 MB / 425.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.1643, allocations: 216.7 kB / 426.1 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.1643, allocations: 15.94 kB / 426.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.165, allocations: 47.95 kB / 426.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.1651, allocations: 44.5 kB / 426.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.432e-05/0.1651, allocations: 16 kB / 426.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005237/0.1657, allocations: 394.8 kB / 426.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1657, allocations: 0 / 426.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000767/0.1664, allocations: 183.9 kB / 426.8 MB, free: 5.043 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003607/0.17, allocations: 1.95 MB / 428.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.1716, allocations: 0.7052 MB / 429.5 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1716, allocations: 4 kB / 429.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.1726, allocations: 0.4982 MB / 430 MB, free: 1.832 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.1734, allocations: 93.81 kB / 430.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.1834, allocations: 5.917 MB / 436 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005675/0.184, allocations: 0.9081 MB / 436.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003315/0.1843, allocations: 76.78 kB / 437 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.1847, allocations: 239.3 kB / 437.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1847, allocations: 0 / 437.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04774/0.2325, allocations: 15.89 MB / 453.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.15, allocations: 7.75 kB / 453.1 MB, free: 10.43 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_fmu --startTime=0 --stopTime=0.1 --stepSize=2e-05 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.784745173004922] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.core.B', 'transformer.core.MagRel', 'transformer.core.Hstat', 'transformer.winding1.i', 'transformer.winding2.i'] 13.312032233981881 13.490639421 13.375202082 Calling exit ...