Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.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.001115/0.001115, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8989/0.8989, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] 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.001115/0.001115, allocations: 163.4 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02192/0.02192, allocations: 6.668 MB / 319 MB, free: 26.74 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.331e-05, allocations: 2.281 kB / 445.4 MB, free: 37.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004682/0.004705, allocations: 3.689 MB / 449.1 MB, free: 33.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.007169, allocations: 1.534 MB / 450.6 MB, free: 32.37 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.007377, allocations: 12 kB / 450.6 MB, free: 32.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000926/0.008303, allocations: 0.7578 MB / 451.4 MB, free: 31.6 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000552/0.008855, allocations: 381.8 kB / 451.8 MB, free: 31.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005515/0.009407, allocations: 0.5834 MB / 452.3 MB, free: 30.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.009816, allocations: 0.5602 MB / 452.9 MB, free: 30.08 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.01026, allocations: 456.1 kB / 453.3 MB, free: 29.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.01054, allocations: 359.1 kB / 453.7 MB, free: 29.28 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.0107, allocations: 227.4 kB / 453.9 MB, free: 29.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.01075, allocations: 63.92 kB / 454 MB, free: 28.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.01101, allocations: 219.7 kB / 454.2 MB, free: 28.78 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.01106, allocations: 131.5 kB / 454.3 MB, free: 28.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.01114, allocations: 179.6 kB / 454.5 MB, free: 28.47 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00054/0.01168, allocations: 0.845 MB / 455.3 MB, free: 27.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01169, allocations: 0 / 455.3 MB, free: 27.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.01169, allocations: 0 / 455.3 MB, free: 27.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.0117, allocations: 0 / 455.3 MB, free: 27.62 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001117/0.01281, allocations: 0.8813 MB / 456.2 MB, free: 26.71 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.01285, allocations: 12.03 kB / 456.2 MB, free: 26.7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.755e-05/0.01295, allocations: 112 kB / 456.3 MB, free: 26.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.01422, allocations: 388.2 kB / 456.7 MB, free: 26.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.01458, allocations: 302.2 kB / 457 MB, free: 25.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.0146, allocations: 53.67 kB / 457.1 MB, free: 25.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.01465, allocations: 64.36 kB / 457.1 MB, free: 25.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006018/0.01525, allocations: 0.6858 MB / 457.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01527, allocations: 0 / 457.8 MB, free: 25.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.0153, allocations: 27.98 kB / 457.8 MB, free: 25.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.01531, allocations: 19.94 kB / 457.9 MB, free: 25.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.01591, allocations: 0.5751 MB / 458.4 MB, free: 24.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.01748, allocations: 1.871 MB / 460.3 MB, free: 22.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.01812, allocations: 480.1 kB / 460.8 MB, free: 21.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.01831, allocations: 172.7 kB / 461 MB, free: 21.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.023e-05/0.01836, allocations: 19.97 kB / 461 MB, free: 21.79 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.01837, allocations: 38.56 kB / 461 MB, free: 21.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.432e-06/0.01838, allocations: 4 kB / 461 MB, free: 21.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008484/0.01922, allocations: 0.6072 MB / 461.6 MB, free: 21.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.01924, allocations: 55.41 kB / 461.7 MB, free: 21.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.01939, allocations: 273.8 kB / 461.9 MB, free: 20.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.0194, allocations: 37.7 kB / 462 MB, free: 20.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.01946, allocations: 248.9 kB / 462.2 MB, free: 20.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.01951, allocations: 155 kB / 462.4 MB, free: 20.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/0.01958, allocations: 94.14 kB / 462.5 MB, free: 20.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.289e-05/0.01961, allocations: 338.8 kB / 462.8 MB, free: 19.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.01978, allocations: 154.8 kB / 462.9 MB, free: 19.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.01997, allocations: 257.2 kB / 463.2 MB, free: 19.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.02037, allocations: 437.7 kB / 463.6 MB, free: 18.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.02037, allocations: 8 kB / 463.6 MB, free: 18.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005257/0.0209, allocations: 0.522 MB / 464.2 MB, free: 18.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.02091, allocations: 8 kB / 464.2 MB, free: 18.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02092, allocations: 7.938 kB / 464.2 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001473/0.02106, allocations: 48.83 kB / 464.2 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.02126, allocations: 103.8 kB / 464.3 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007025/0.02197, allocations: 1.65 MB / 466 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/0.02212, allocations: 59.61 kB / 466 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.02214, allocations: 19.94 kB / 466 MB, free: 16.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002219/0.02236, allocations: 273.1 kB / 466.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001791/0.02254, allocations: 256.9 kB / 466.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000354/0.0229, allocations: 423.7 kB / 467 MB, free: 15.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.0229, allocations: 0 / 467 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005033/0.0234, allocations: 0.5132 MB / 467.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-06/0.02341, allocations: 10.59 kB / 467.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.02341, allocations: 4 kB / 467.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.021e-05/0.0235, allocations: 56.83 kB / 467.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.02368, allocations: 91.83 kB / 467.7 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00059/0.02427, allocations: 1.656 MB / 469.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.0244, allocations: 47.66 kB / 469.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.02441, allocations: 16 kB / 469.4 MB, free: 12.9 MB / 330.7 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 (53): * Single equations (assignments): 52 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.424e-05/0.02449, allocations: 212.5 kB / 469.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.02452, allocations: 31.81 kB / 469.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.02506, allocations: 0.502 MB / 470.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02507, allocations: 8 kB / 470.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.02507, allocations: 8 kB / 470.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.02507, allocations: 7.969 kB / 470.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007952/0.02587, allocations: 1.003 MB / 471.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02587, allocations: 0 / 471.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.02603, allocations: 79.89 kB / 471.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.02612, allocations: 52.83 kB / 471.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.02613, allocations: 8 kB / 471.3 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005625/0.0267, allocations: 1.641 MB / 472.9 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.0267, allocations: 0 / 472.9 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.02737, allocations: 0.7523 MB / 473.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.724e-05/0.02743, allocations: 71.8 kB / 473.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.02746, allocations: 11.94 kB / 473.7 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.02757, allocations: 23.98 kB / 473.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.02762, allocations: 32.5 kB / 473.8 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.02764, allocations: 15.98 kB / 473.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.691e-05/0.02772, allocations: 189.2 kB / 474 MB, free: 8.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02772, allocations: 0 / 474 MB, free: 8.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.02818, allocations: 247.3 kB / 474.2 MB, free: 7.824 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * 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 (42): * Single equations (assignments): 41 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008648/0.02905, allocations: 1.335 MB / 475.6 MB, free: 6.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007909/0.02984, allocations: 0.8452 MB / 476.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02984, allocations: 3.938 kB / 476.4 MB, free: 5.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.03007, allocations: 317.5 kB / 476.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.03033, allocations: 44.41 kB / 476.8 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.03309, allocations: 3.784 MB / 480.6 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.0332, allocations: 225.8 kB / 480.8 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.03336, allocations: 71.23 kB / 480.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.03349, allocations: 168.4 kB / 481 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.03349, allocations: 0 / 481 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.05618, allocations: 9.716 MB / 490.7 MB, free: 7.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.216/7.272, allocations: 12 kB / 490.7 MB, free: 7.219 MB / 346.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.fmu > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.259830025956035] Failed to read output from testmodel.py, exit status != 0: 7.358569436706603 7.370688707 7.3571582 Calling exit ...