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.001949/0.001949, allocations: 103.6 kB / 21.18 MB, free: 0.6016 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.002469/0.002469, allocations: 206.7 kB / 24.48 MB, free: 3.93 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.565/1.565, allocations: 207.7 MB / 235.3 MB, free: 9.777 MB / 190.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2",fmuType="me",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.002015/0.002015, allocations: 56.3 kB / 347.2 MB, free: 9.891 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3407, allocations: 49.15 MB / 396.3 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005039/0.3457, allocations: 3.896 MB / 400.2 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002818/0.3485, allocations: 1.559 MB / 401.8 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.3489, allocations: 15.75 kB / 401.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.3493, allocations: 120.9 kB / 401.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008146/0.3501, allocations: 359.5 kB / 402.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.3507, allocations: 233.6 kB / 402.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009388/0.3516, allocations: 0.979 MB / 403.5 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002793/0.3519, allocations: 152.8 kB / 403.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004582/0.3524, allocations: 391.4 kB / 404 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.3529, allocations: 377.8 kB / 404.4 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.3531, allocations: 95.41 kB / 404.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004441/0.3535, allocations: 210.2 kB / 404.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.3537, allocations: 196.1 kB / 404.9 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003176/0.354, allocations: 345.6 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.3556, allocations: 1.174 MB / 406.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3556, allocations: 4 kB / 406.4 MB, free: 3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3556, allocations: 2 kB / 406.4 MB, free: 3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.523e-05/0.3556, allocations: 4 kB / 406.4 MB, free: 2.996 MB / 318.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.002559/0.3582, allocations: 1.035 MB / 407.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3583, allocations: 14.28 kB / 407.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.3584, allocations: 99.08 kB / 407.5 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.3585, allocations: 78.97 kB / 407.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008108/0.3593, allocations: 470.3 kB / 408.1 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.931e-05/0.3594, allocations: 126.6 kB / 408.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.3596, allocations: 77.89 kB / 408.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.3608, allocations: 0.7084 MB / 409 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3608, allocations: 1.281 kB / 409 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.019e-05/0.3609, allocations: 21.97 kB / 409 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.3609, allocations: 12.81 kB / 409 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009983/0.3619, allocations: 0.5253 MB / 409.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.3654, allocations: 2.048 MB / 411.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.3664, allocations: 459.2 kB / 412 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/0.3669, allocations: 251.1 kB / 412.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.367, allocations: 4.625 kB / 412.3 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.367, allocations: 41.88 kB / 412.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 2.445e-06/0.367, allocations: 5.125 kB / 412.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.01446/0.3815, allocations: 3.317 MB / 415.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.3816, allocations: 83.64 kB / 415.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.3827, allocations: 0.5448 MB / 416.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.3828, allocations: 37.17 kB / 416.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.3831, allocations: 318.6 kB / 416.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/0.3833, allocations: 215 kB / 416.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.3835, allocations: 112.6 kB / 417 MB, free: 12.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003125/0.3838, allocations: 371.6 kB / 417.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/0.3844, allocations: 240.2 kB / 417.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.3851, allocations: 354.3 kB / 417.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3864, allocations: 0.5988 MB / 418.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3864, allocations: 1.375 kB / 418.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001839/0.3883, allocations: 0.7554 MB / 419.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3883, allocations: 7.656 kB / 419.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3883, allocations: 2.594 kB / 419.3 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003252/0.3886, allocations: 33.25 kB / 419.3 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.3894, allocations: 166.1 kB / 419.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.3907, allocations: 1.329 MB / 420.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007778/0.3915, allocations: 36.08 kB / 420.8 MB, free: 9.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.3915, allocations: 25.55 kB / 420.8 MB, free: 9.32 MB / 334.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.0003545/0.3919, allocations: 201.5 kB / 421 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.3921, allocations: 64.78 kB / 421.1 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.3941, allocations: 0.8344 MB / 421.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3941, allocations: 14.83 kB / 422 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3941, allocations: 1.031 kB / 422 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.3941, allocations: 7.969 kB / 422 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00426/0.3984, allocations: 1.671 MB / 423.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3984, allocations: 3.938 kB / 423.6 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000538/0.3989, allocations: 107.9 kB / 423.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002422/0.4013, allocations: 476.3 kB / 424.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.081e-05/0.4014, allocations: 16 kB / 424.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005588/0.407, allocations: 2.981 MB / 427.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.407, allocations: 0 / 427.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.4102, allocations: 1.378 MB / 428.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.4108, allocations: 131.5 kB / 428.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.4109, allocations: 19.94 kB / 428.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007638/0.4117, allocations: 47.97 kB / 428.8 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.4119, allocations: 48.56 kB / 428.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.4119, allocations: 19.98 kB / 428.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005886/0.4125, allocations: 390.9 kB / 429.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4125, allocations: 0 / 429.2 MB, free: 1.512 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008626/0.4134, allocations: 188 kB / 429.4 MB, free: 1.328 MB / 334.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.003925/0.4173, allocations: 1.949 MB / 431.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4191, allocations: 0.7149 MB / 432.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4191, allocations: 0 / 432.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4201, allocations: 0.4949 MB / 432.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.4211, allocations: 89.8 kB / 432.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.4323, allocations: 5.933 MB / 438.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.4327, allocations: 315 kB / 438.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00046/0.4332, allocations: 72.8 kB / 439 MB, free: 7.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.4337, allocations: 239.3 kB / 439.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of SimCode: time 2.244e-06/0.4337, allocations: 0 / 439.2 MB, free: 7.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06076/0.4944, allocations: 16.36 MB / 455.6 MB, free: 6.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.92/14.41, allocations: 7.859 kB / 455.6 MB, free: 6.832 MB / 366.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 2e-05 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] Could not SIGINT process: 2859797. Could not SIGINT process: 2859800. Could not SIGINT process: 2859803. Could not SIGINT process: 2854098. [Calling os._exit(0), Time elapsed: 70.20552093116567] 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'] 14.542532258667052 14.560333967 14.201175099 Calling exit ...