Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001701/0.001701, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00202/0.00202, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.51/1.51, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1142, allocations: 53.32 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.2294/0.3436, allocations: 8.022 MB / 435 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00378/0.3474, allocations: 2.647 MB / 437.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007301/0.3481, allocations: 27.16 kB / 437.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.3494, allocations: 0.5234 MB / 438.2 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009815/0.3504, allocations: 433.2 kB / 438.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.3508, allocations: 222.3 kB / 438.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.352, allocations: 1.232 MB / 440.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005458/0.3526, allocations: 373.2 kB / 440.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006564/0.3532, allocations: 0.494 MB / 441 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.3538, allocations: 0.5173 MB / 441.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.3539, allocations: 114.4 kB / 441.6 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.3542, allocations: 155.2 kB / 441.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3544, allocations: 235.5 kB / 442 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.3548, allocations: 0.5654 MB / 442.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.3564, allocations: 1.472 MB / 444 MB, free: 3.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3564, allocations: 4.75 kB / 444 MB, free: 3.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3564, allocations: 0 / 444 MB, free: 3.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.238e-05/0.3564, allocations: 0 / 444 MB, free: 3.148 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002093/0.3585, allocations: 1.324 MB / 445.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3586, allocations: 10.08 kB / 445.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001645/0.3587, allocations: 136.9 kB / 445.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007234/0.3595, allocations: 180.2 kB / 445.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.3605, allocations: 0.6447 MB / 446.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/0.3605, allocations: 64.47 kB / 446.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.3606, allocations: 91.41 kB / 446.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.362, allocations: 0.8157 MB / 447.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.362, allocations: 13.91 kB / 447.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.149e-05/0.3621, allocations: 35.66 kB / 447.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/0.3621, allocations: 23.94 kB / 447.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3631, allocations: 0.5409 MB / 447.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.3677, allocations: 3.557 MB / 451.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.3683, allocations: 237.1 kB / 451.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.3686, allocations: 106.1 kB / 451.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.3686, allocations: 3.047 kB / 451.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.3687, allocations: 37.06 kB / 451.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.3687, allocations: 0 / 451.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002481/0.3711, allocations: 1.094 MB / 452.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.3712, allocations: 96.61 kB / 453 MB, free: 13.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3724, allocations: 0.7556 MB / 453.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.3724, allocations: 30.95 kB / 453.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004787/0.3729, allocations: 0.5258 MB / 454.3 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.373, allocations: 115.6 kB / 454.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.3732, allocations: 121.5 kB / 454.5 MB, free: 12.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002489/0.3734, allocations: 383.5 kB / 454.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.3737, allocations: 133.7 kB / 455 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006059/0.3743, allocations: 450.2 kB / 455.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3755, allocations: 0.6156 MB / 456.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.3755, allocations: 3.812 kB / 456.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001402/0.3769, allocations: 0.6494 MB / 456.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/0.3769, allocations: 17.56 kB / 456.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.3769, allocations: 11.61 kB / 456.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.3771, allocations: 35.14 kB / 456.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.3776, allocations: 153.9 kB / 457 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.379, allocations: 1.388 MB / 458.4 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006708/0.3797, allocations: 45.19 kB / 458.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.3797, allocations: 32.36 kB / 458.4 MB, free: 9.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (78): * Single equations (assignments): 77 * 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.0004577/0.3802, allocations: 246 kB / 458.7 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.3803, allocations: 79.56 kB / 458.8 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000792/0.3811, allocations: 337 kB / 459.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.3811, allocations: 4.656 kB / 459.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3811, allocations: 3.938 kB / 459.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3811, allocations: 0 / 459.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.3832, allocations: 1.112 MB / 460.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3832, allocations: 1.562 kB / 460.2 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.3835, allocations: 56.27 kB / 460.3 MB, free: 8.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001104/0.3836, allocations: 27.7 kB / 460.3 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.3837, allocations: 9.203 kB / 460.3 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.3849, allocations: 1.375 MB / 461.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3849, allocations: 3.625 kB / 461.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.386, allocations: 0.5771 MB / 462.2 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.3862, allocations: 180.6 kB / 462.4 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.3863, allocations: 10.61 kB / 462.4 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003393/0.3867, allocations: 22.67 kB / 462.5 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.3867, allocations: 30.86 kB / 462.5 MB, free: 6.129 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.3868, allocations: 7.766 kB / 462.5 MB, free: 6.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008048/0.3876, allocations: 0.5239 MB / 463 MB, free: 5.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3876, allocations: 1 kB / 463 MB, free: 5.883 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007852/0.3884, allocations: 175.3 kB / 463.2 MB, free: 5.863 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (28): * Single equations (assignments): 27 * 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.001453/0.3898, allocations: 1.141 MB / 464.3 MB, free: 4.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3908, allocations: 472.8 kB / 464.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3908, allocations: 1.125 kB / 464.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003867/0.3912, allocations: 236.5 kB / 465 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009803/0.3922, allocations: 192.1 kB / 465.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.4023, allocations: 6.541 MB / 471.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.403, allocations: 0.9506 MB / 472.7 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003984/0.4034, allocations: 92.33 kB / 472.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.4038, allocations: 316.7 kB / 473.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4038, allocations: 0 / 473.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04982/0.4537, allocations: 16.19 MB / 489.3 MB, free: 1.281 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.51, allocations: 10.36 kB / 489.3 MB, free: 1.273 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.131595393642783] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w'] 11.595609800890088 11.609203002 11.249862282 Calling exit ...