Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8873/0.8873, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.836e-05/2.031e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.006988/0.007009, allocations: 7.047 MB / 325.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.01007, allocations: 2.42 MB / 327.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.01055, allocations: 27.88 kB / 327.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.01157, allocations: 0.5285 MB / 328.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007002/0.01227, allocations: 0.5 MB / 329 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.0126, allocations: 247.6 kB / 329.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.01393, allocations: 1.49 MB / 330.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004643/0.01439, allocations: 379.2 kB / 331.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009012/0.01529, allocations: 0.8301 MB / 331.9 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.0157, allocations: 426.6 kB / 332.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.01581, allocations: 136 kB / 332.4 MB, free: 8.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.01603, allocations: 175.9 kB / 332.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.01616, allocations: 278.9 kB / 332.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.01645, allocations: 454.9 kB / 333.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.01758, allocations: 1.698 MB / 335 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.01758, allocations: 0 / 335 MB, free: 5.676 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01759, allocations: 4 kB / 335 MB, free: 5.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.0176, allocations: 0 / 335 MB, free: 5.672 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001486/0.01908, allocations: 1.372 MB / 336.4 MB, free: 4.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.01913, allocations: 8.922 kB / 336.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004037/0.01953, allocations: 148.3 kB / 336.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003204/0.01985, allocations: 176.1 kB / 336.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008087/0.02066, allocations: 0.6648 MB / 337.4 MB, free: 3.242 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.591e-05/0.02071, allocations: 74 kB / 337.5 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.02079, allocations: 92 kB / 337.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.02182, allocations: 0.9982 MB / 338.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.02184, allocations: 3.953 kB / 338.6 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.315e-05/0.02189, allocations: 48 kB / 338.6 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.02191, allocations: 27.94 kB / 338.6 MB, free: 1.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.02272, allocations: 0.6168 MB / 339.3 MB, free: 1.336 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.02578, allocations: 3.489 MB / 342.7 MB, free: 13.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.02616, allocations: 258.5 kB / 343 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.02634, allocations: 135.6 kB / 343.1 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.02637, allocations: 7.984 kB / 343.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.02639, allocations: 34.56 kB / 343.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.064e-06/0.0264, allocations: 0 / 343.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=35): time 0.001767/0.02816, allocations: 1.064 MB / 344.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.0282, allocations: 85.09 kB / 344.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007006/0.0289, allocations: 0.8407 MB / 345.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.02892, allocations: 29.7 kB / 345.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.02919, allocations: 0.5812 MB / 345.8 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.02925, allocations: 142.8 kB / 345.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.02936, allocations: 118.6 kB / 346 MB, free: 10.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.02944, allocations: 337.9 kB / 346.4 MB, free: 9.898 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.02964, allocations: 145.9 kB / 346.5 MB, free: 9.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.02995, allocations: 481.9 kB / 347 MB, free: 9.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.03047, allocations: 0.6441 MB / 347.6 MB, free: 8.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.03048, allocations: 4 kB / 347.6 MB, free: 8.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.000703/0.03118, allocations: 0.6887 MB / 348.3 MB, free: 7.641 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.0312, allocations: 15.98 kB / 348.3 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.03121, allocations: 11.98 kB / 348.3 MB, free: 7.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.03132, allocations: 33.52 kB / 348.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.0316, allocations: 159.7 kB / 348.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006883/0.03229, allocations: 1.279 MB / 349.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.03254, allocations: 35.94 kB / 349.8 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.03257, allocations: 36.16 kB / 349.9 MB, free: 5.961 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.0328, allocations: 253.6 kB / 350.1 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.03287, allocations: 95.38 kB / 350.2 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.03359, allocations: 374.2 kB / 350.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.03359, allocations: 4 kB / 350.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.0336, allocations: 0 / 350.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.0336, allocations: 3.984 kB / 350.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.0347, allocations: 1.145 MB / 351.7 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.0347, allocations: 0 / 351.7 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001727/0.03487, allocations: 75.89 kB / 351.8 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.03493, allocations: 29.06 kB / 351.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.03494, allocations: 11.94 kB / 351.8 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005326/0.03548, allocations: 1.271 MB / 353.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03548, allocations: 0 / 353.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.03606, allocations: 0.6368 MB / 353.7 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.03621, allocations: 111.5 kB / 353.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/0.03625, allocations: 8 kB / 353.9 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.03644, allocations: 23.97 kB / 353.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.0365, allocations: 39.83 kB / 353.9 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.03652, allocations: 8 kB / 353.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004767/0.03699, allocations: 0.5654 MB / 354.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03699, allocations: 0 / 354.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.03741, allocations: 188 kB / 354.7 MB, free: 0.8867 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.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 (34): * Single equations (assignments): 33 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009093/0.03832, allocations: 1.196 MB / 355.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006247/0.03894, allocations: 0.4915 MB / 356.4 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.03894, allocations: 4 kB / 356.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.03923, allocations: 264.5 kB / 356.6 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.03995, allocations: 209.2 kB / 356.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.04735, allocations: 7.053 MB / 363.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.04764, allocations: 401 kB / 364.3 MB, free: 6.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005283/0.04817, allocations: 106.9 kB / 364.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/0.04847, allocations: 372.4 kB / 364.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.04847, allocations: 0 / 364.8 MB, free: 6.254 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03305/0.08152, allocations: 19.61 MB / 384.4 MB, free: 2.934 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.542/7.623, allocations: 3.438 kB / 384.4 MB, free: 2.934 MB / 346.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.420933392830193] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 7.7245869329199195 7.732953424 7.713669962 Calling exit ...