Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.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.001208/0.001208, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 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.006637/0.006637, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 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 0.8682/0.8682, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.103e-05, allocations: 2.281 kB / 298.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.1453/0.1453, allocations: 6.996 MB / 305.4 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.1492, allocations: 2.462 MB / 307.9 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008259/0.15, allocations: 29.03 kB / 307.9 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.1512, allocations: 0.5203 MB / 308.5 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00099/0.1522, allocations: 0.4997 MB / 309 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.1526, allocations: 241.9 kB / 309.2 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.1541, allocations: 1.491 MB / 310.7 MB, free: 9.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005988/0.1547, allocations: 381.4 kB / 311.1 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001148/0.1559, allocations: 0.8302 MB / 311.9 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005414/0.1564, allocations: 434.7 kB / 312.3 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1566, allocations: 134.9 kB / 312.4 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003247/0.1569, allocations: 171.7 kB / 312.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.157, allocations: 281.7 kB / 312.9 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004042/0.1574, allocations: 453.4 kB / 313.3 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.1593, allocations: 1.695 MB / 315 MB, free: 7.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1593, allocations: 0 / 315 MB, free: 7.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1593, allocations: 0 / 315 MB, free: 7.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.1593, allocations: 1.594 kB / 315 MB, free: 7.25 MB / 282.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.001984/0.1613, allocations: 1.378 MB / 316.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.1614, allocations: 13.58 kB / 316.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.1615, allocations: 151.3 kB / 316.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.1619, allocations: 180.8 kB / 316.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001112/0.1631, allocations: 0.6533 MB / 317.4 MB, free: 5.711 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.1631, allocations: 73.78 kB / 317.5 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.1632, allocations: 98.91 kB / 317.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.1643, allocations: 0.9979 MB / 318.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.1644, allocations: 2.312 kB / 318.6 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.1644, allocations: 40.28 kB / 318.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1644, allocations: 24.75 kB / 318.6 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000912/0.1654, allocations: 0.6253 MB / 319.2 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.1688, allocations: 3.487 MB / 322.7 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.1693, allocations: 267.4 kB / 323 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.1694, allocations: 137.5 kB / 323.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1695, allocations: 10.06 kB / 323.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.1695, allocations: 32.84 kB / 323.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.1695, allocations: 0 / 323.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=35): time 0.001608/0.1711, allocations: 1.054 MB / 324.2 MB, free: 1.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.1711, allocations: 89.12 kB / 324.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007763/0.1719, allocations: 0.8381 MB / 325.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1719, allocations: 30.89 kB / 325.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1721, allocations: 0.5813 MB / 325.8 MB, free: 64 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.216e-05/0.1722, allocations: 135.8 kB / 325.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.1723, allocations: 125.9 kB / 326 MB, free: 15.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.1724, allocations: 331.6 kB / 326.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1726, allocations: 152 kB / 326.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003972/0.173, allocations: 481.5 kB / 327 MB, free: 14.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006156/0.1736, allocations: 0.6444 MB / 327.6 MB, free: 14.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.1737, allocations: 7.156 kB / 327.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008763/0.1745, allocations: 0.6887 MB / 328.3 MB, free: 14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.1746, allocations: 14.02 kB / 328.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.1746, allocations: 10.69 kB / 328.3 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.1747, allocations: 31.64 kB / 328.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.175, allocations: 156.6 kB / 328.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007468/0.1758, allocations: 1.289 MB / 329.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.1761, allocations: 38.88 kB / 329.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.1762, allocations: 33.55 kB / 329.9 MB, free: 12.61 MB / 298.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.0002886/0.1765, allocations: 256.3 kB / 330.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.1765, allocations: 88.45 kB / 330.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.177, allocations: 378.1 kB / 330.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.177, allocations: 3.625 kB / 330.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.177, allocations: 0 / 330.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.177, allocations: 5.141 kB / 330.6 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.1784, allocations: 1.146 MB / 331.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1784, allocations: 2.969 kB / 331.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.1786, allocations: 74.33 kB / 331.8 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.258e-05/0.1786, allocations: 27.16 kB / 331.8 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.1786, allocations: 10.66 kB / 331.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008468/0.1795, allocations: 1.266 MB / 333.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1795, allocations: 4.625 kB / 333.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005924/0.1801, allocations: 0.631 MB / 333.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.1803, allocations: 118.8 kB / 333.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.1803, allocations: 8.188 kB / 333.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.1805, allocations: 24.88 kB / 333.9 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.1806, allocations: 43.48 kB / 333.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1806, allocations: 8.062 kB / 333.9 MB, free: 9.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005444/0.1811, allocations: 0.5607 MB / 334.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1811, allocations: 0 / 334.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005589/0.1817, allocations: 192.6 kB / 334.7 MB, free: 9.039 MB / 298.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.001015/0.1827, allocations: 1.189 MB / 335.9 MB, free: 8.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007361/0.1834, allocations: 0.4903 MB / 336.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1834, allocations: 0 / 336.4 MB, free: 7.723 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1837, allocations: 266.6 kB / 336.6 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.1844, allocations: 209.4 kB / 336.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008044/0.1924, allocations: 7.057 MB / 343.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.1927, allocations: 409 kB / 344.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002857/0.193, allocations: 102.8 kB / 344.4 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.1933, allocations: 376.3 kB / 344.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.253e-06/0.1933, allocations: 0 / 344.8 MB, free: 14.83 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03641/0.2297, allocations: 19.63 MB / 364.4 MB, free: 11.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.889, allocations: 3.984 kB / 364.4 MB, free: 11.12 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.609077372588217] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcee.airGapDC.psi_e', 'dcee.la.i', 'loadInertia.phi', 'loadInertia.w'] 7.9821649473160505 7.990016285 7.82880389 Calling exit ...