Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.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.001098/0.001098, 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.9196/0.9196, allocations: 177.1 MB / 199.4 MB, free: 5.934 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.001129/0.001129, allocations: 164.6 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.02215/0.02215, allocations: 6.669 MB / 319 MB, free: 26.75 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.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 445.4 MB, free: 37.6 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.348e-05, allocations: 2.281 kB / 445.4 MB, free: 37.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.01548/0.0155, allocations: 21.99 MB / 467.4 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01188/0.02738, allocations: 7.772 MB / 475.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004407/0.03178, allocations: 203 kB / 475.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00703/0.03881, allocations: 6.033 MB / 481.4 MB, free: 1.457 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007024/0.04584, allocations: 2.829 MB / 484.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003522/0.04936, allocations: 1.625 MB / 485.9 MB, free: 13 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008187/0.05755, allocations: 7.618 MB / 493.5 MB, free: 5.344 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01108/0.06863, allocations: 9.015 MB / 0.4907 GB, free: 12.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007682/0.07631, allocations: 5.651 MB / 0.4962 GB, free: 6.539 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005527/0.08184, allocations: 3.625 MB / 0.4998 GB, free: 2.906 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002323/0.08416, allocations: 1.066 MB / 0.5008 GB, free: 1.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.08727, allocations: 1.456 MB / 0.5023 GB, free: 392 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001807/0.08907, allocations: 2.193 MB / 0.5044 GB, free: 14.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004791/0.09387, allocations: 2.76 MB / 0.5071 GB, free: 11.42 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01358/0.1074, allocations: 14.69 MB / 0.5214 GB, free: 12.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.1075, allocations: 7.922 kB / 0.5214 GB, free: 12.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1075, allocations: 0 / 0.5214 GB, free: 12.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003942/0.1079, allocations: 0 / 0.5214 GB, free: 12.67 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1800 * Number of variables: 1800 Notification: Performance of Generate backend data structure: time 0.01816/0.126, allocations: 8.818 MB / 0.5301 GB, free: 3.781 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1261, allocations: 12.03 kB / 0.5301 GB, free: 3.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00206/0.1281, allocations: 1.044 MB / 0.5311 GB, free: 2.715 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0132/0.1413, allocations: 4.429 MB / 0.5354 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007933/0.1493, allocations: 4.621 MB / 0.5399 GB, free: 9.598 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/0.1496, allocations: 493.1 kB / 0.5404 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00193/0.1515, allocations: 0.6249 MB / 0.541 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/0.1708, allocations: 10.49 MB / 0.5513 GB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.1709, allocations: 7.953 kB / 0.5513 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008624/0.1718, allocations: 264 kB / 0.5515 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000282/0.1721, allocations: 421.7 kB / 0.5519 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.1869, allocations: 9.853 MB / 0.5615 GB, free: 3.352 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1973/0.3842, allocations: 30.79 MB / 0.5916 GB, free: 95.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006851/0.3911, allocations: 6.701 MB / 0.5981 GB, free: 90.01 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3929, allocations: 2.111 MB / 0.6002 GB, free: 87.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/0.3931, allocations: 78.27 kB / 0.6003 GB, free: 87.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3931, allocations: 68.83 kB / 0.6003 GB, free: 87.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 4.529e-06/0.3931, allocations: 0 / 0.6003 GB, free: 87.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=301): time 0.01175/0.4049, allocations: 10.82 MB / 0.6109 GB, free: 76.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4049, allocations: 81.78 kB / 0.611 GB, free: 76.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.4077, allocations: 3.138 MB / 0.6141 GB, free: 73.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.4079, allocations: 77.7 kB / 0.6141 GB, free: 73.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008416/0.4087, allocations: 2.954 MB / 0.617 GB, free: 70.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005027/0.4092, allocations: 1.071 MB / 0.6181 GB, free: 69.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007758/0.41, allocations: 0.9138 MB / 0.619 GB, free: 68.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.41, allocations: 301.1 kB / 0.6192 GB, free: 68.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4118, allocations: 2.031 MB / 0.6212 GB, free: 66.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002105/0.4139, allocations: 3.753 MB / 0.6249 GB, free: 61.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.4181, allocations: 6.055 MB / 0.6308 GB, free: 54.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.373e-05/0.4182, allocations: 21.22 kB / 0.6308 GB, free: 54.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.006645/0.4248, allocations: 6.64 MB / 0.6373 GB, free: 48.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.4248, allocations: 32 kB / 0.6373 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-05/0.4249, allocations: 56 kB / 0.6374 GB, free: 48.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4259, allocations: 0.674 MB / 0.638 GB, free: 47.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.4277, allocations: 1.073 MB / 0.6391 GB, free: 46.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004496/0.4322, allocations: 6.02 MB / 0.645 GB, free: 40.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.4342, allocations: 275.6 kB / 0.6452 GB, free: 40 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000255/0.4344, allocations: 232 kB / 0.6455 GB, free: 39.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 251 * 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 (560): * Single equations (assignments): 559 * 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 {(8,28,65.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002263/0.4367, allocations: 2.331 MB / 0.6477 GB, free: 37.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/0.4372, allocations: 341.8 kB / 0.6481 GB, free: 37.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00409/0.4413, allocations: 4.606 MB / 0.6526 GB, free: 32.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.4413, allocations: 28 kB / 0.6526 GB, free: 32.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4413, allocations: 12 kB / 0.6526 GB, free: 32.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4413, allocations: 15.94 kB / 0.6526 GB, free: 32.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01016/0.4514, allocations: 10.57 MB / 0.6629 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4515, allocations: 4 kB / 0.6629 GB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4525, allocations: 0.5382 MB / 0.6635 GB, free: 21.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008257/0.4533, allocations: 0.5699 MB / 0.664 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.4535, allocations: 71.97 kB / 0.6641 GB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.4572, allocations: 5.256 MB / 0.6692 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4572, allocations: 11.94 kB / 0.6692 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005729/0.4629, allocations: 6.585 MB / 0.6757 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.464, allocations: 0.6616 MB / 0.6763 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.4643, allocations: 56 kB / 0.6764 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/0.4652, allocations: 143.8 kB / 0.6765 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/0.4654, allocations: 225.8 kB / 0.6767 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.4655, allocations: 87.98 kB / 0.6768 GB, free: 7.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001927/0.4674, allocations: 2.017 MB / 0.6788 GB, free: 5.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4674, allocations: 0 / 0.6788 GB, free: 5.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002541/0.47, allocations: 1.184 MB / 0.6799 GB, free: 4.027 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (smee.short.port_p.reference.gamma,mechanicalPowerSensor.relSpeedSensor.phi_rel) * 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 (291): * Single equations (assignments): 290 * 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 {(8,26,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006275/0.4762, allocations: 7.279 MB / 0.687 GB, free: 12.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005827/0.4821, allocations: 4.824 MB / 0.6917 GB, free: 7.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/0.4821, allocations: 4.5 kB / 0.6917 GB, free: 7.727 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.4843, allocations: 2.11 MB / 0.6938 GB, free: 5.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/0.4864, allocations: 0.6514 MB / 0.6944 GB, free: 4.973 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04983/0.5363, allocations: 39.09 MB / 0.7326 GB, free: 11.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/0.5395, allocations: 3.656 MB / 0.7362 GB, free: 8.152 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002373/0.5419, allocations: 1.322 MB / 0.7375 GB, free: 6.828 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/0.544, allocations: 2.262 MB / 0.7397 GB, free: 4.566 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.544, allocations: 0 / 0.7397 GB, free: 4.566 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2304/0.7744, allocations: 91.43 MB / 0.829 GB, free: 97.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.796/10.57, allocations: 11.98 kB / 0.829 GB, free: 97.27 MB / 490.7 MB " [Timeout remaining time 649] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1_fmu --startTime=0 --stopTime=30 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_Slip1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.635249874554574] Failed to read output from testmodel.py, exit status != 0: 10.699020919390023 10.706910079 10.597766893 Calling exit ...