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.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.001354/0.001354, allocations: 104.6 kB / 16.45 MB, free: 6.504 MB / 14.72 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 1.476/1.476, allocations: 225.6 MB / 244.8 MB, free: 14.19 MB / 206.1 MB " [Timeout remaining time 178] 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.001623/0.001623, allocations: 191.9 kB / 299.8 MB, free: 9.84 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04079/0.04079, allocations: 8.933 MB / 363.6 MB, free: 10.19 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(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 0.002441/0.002441, allocations: 83.2 kB / 486.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1217, allocations: 54.41 MB / 0.5278 GB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_Slip1): time 0.03035/0.1521, allocations: 25.51 MB / 0.5527 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01667/0.1688, allocations: 8.049 MB / 0.5606 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/0.1738, allocations: 175.5 kB / 0.5608 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01541/0.1892, allocations: 6.171 MB / 0.5668 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.1999, allocations: 2.785 MB / 0.5695 GB, free: 6.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.2055, allocations: 1.632 MB / 0.5711 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01184/0.2174, allocations: 7.274 MB / 0.5782 GB, free: 13.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01634/0.2337, allocations: 10.13 MB / 0.5881 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006056/0.2398, allocations: 3.752 MB / 0.5918 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007995/0.2478, allocations: 4.267 MB / 0.5959 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003486/0.2513, allocations: 1.07 MB / 0.597 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006176/0.2574, allocations: 1.433 MB / 0.5984 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006431/0.2639, allocations: 2.155 MB / 0.6005 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009775/0.2736, allocations: 4.105 MB / 0.6045 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01829/0.2919, allocations: 14.48 MB / 0.6186 GB, free: 3.934 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.2919, allocations: 0 / 0.6186 GB, free: 3.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2919, allocations: 0 / 0.6186 GB, free: 3.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003284/0.2923, allocations: 0 / 0.6186 GB, free: 3.934 MB / 430.1 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.02984/0.3221, allocations: 8.933 MB / 0.6273 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.3222, allocations: 8.031 kB / 0.6274 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004159/0.3263, allocations: 1.048 MB / 0.6284 GB, free: 9.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0265/0.3528, allocations: 4.44 MB / 0.6327 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.3657, allocations: 4.626 MB / 0.6372 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006172/0.3663, allocations: 489.1 kB / 0.6377 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2285/0.5948, allocations: 0.6222 MB / 0.6383 GB, free: 86.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.6211, allocations: 10.36 MB / 0.6484 GB, free: 83.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003863/0.6215, allocations: 10.88 kB / 0.6484 GB, free: 83.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002519/0.624, allocations: 267.2 kB / 0.6487 GB, free: 83.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005149/0.6245, allocations: 419.4 kB / 0.6491 GB, free: 83.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02053/0.6451, allocations: 9.873 MB / 0.6587 GB, free: 78.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05279/0.6979, allocations: 35.4 MB / 0.6933 GB, free: 44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/0.712, allocations: 20.39 MB / 0.7132 GB, free: 21.01 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003535/0.7155, allocations: 2.11 MB / 0.7153 GB, free: 18.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003335/0.7158, allocations: 231.8 kB / 0.7155 GB, free: 18.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/0.7159, allocations: 64.83 kB / 0.7156 GB, free: 18.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=295): time 6.442e-06/0.7159, allocations: 0 / 0.7156 GB, free: 18.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=301): time 0.01997/0.7359, allocations: 10.93 MB / 0.7262 GB, free: 7.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.7359, allocations: 81.78 kB / 0.7263 GB, free: 7.707 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004434/0.7403, allocations: 3.034 MB / 0.7293 GB, free: 4.695 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000326/0.7407, allocations: 77.7 kB / 0.7293 GB, free: 4.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.7419, allocations: 2.969 MB / 0.7322 GB, free: 1.773 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007884/0.7427, allocations: 1.08 MB / 0.7333 GB, free: 0.707 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/0.7442, allocations: 0.9086 MB / 0.7342 GB, free: 15.79 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.7444, allocations: 301.1 kB / 0.7345 GB, free: 15.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/0.7478, allocations: 2.031 MB / 0.7365 GB, free: 13.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005028/0.7528, allocations: 3.728 MB / 0.7401 GB, free: 8.934 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009431/0.7623, allocations: 6.051 MB / 0.746 GB, free: 2.082 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.523e-05/0.7623, allocations: 16 kB / 0.746 GB, free: 2.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.01279/0.7751, allocations: 6.631 MB / 0.7525 GB, free: 11.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.895e-05/0.7752, allocations: 32 kB / 0.7525 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.7753, allocations: 52 kB / 0.7526 GB, free: 11.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.7771, allocations: 0.6604 MB / 0.7532 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003798/0.7809, allocations: 1.069 MB / 0.7543 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009423/0.7904, allocations: 6.236 MB / 0.7604 GB, free: 3.203 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003355/0.7937, allocations: 279.7 kB / 0.7606 GB, free: 2.93 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006762/0.7944, allocations: 228 kB / 0.7608 GB, free: 2.707 MB / 478.1 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.004659/0.7991, allocations: 2.315 MB / 0.7631 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/0.8001, allocations: 337.8 kB / 0.7634 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009987/0.8101, allocations: 4.61 MB / 0.7679 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.446e-05/0.8101, allocations: 35.94 kB / 0.768 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.26e-05/0.8102, allocations: 4 kB / 0.768 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-05/0.8102, allocations: 15.94 kB / 0.768 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02572/0.8359, allocations: 11.08 MB / 0.7788 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/0.836, allocations: 8 kB / 0.7788 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/0.8382, allocations: 0.5304 MB / 0.7793 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.8398, allocations: 0.5707 MB / 0.7799 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/0.8401, allocations: 63.98 kB / 0.7799 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008637/0.8487, allocations: 5.469 MB / 0.7853 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.185e-05/0.8487, allocations: 7.938 kB / 0.7853 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.8612, allocations: 6.577 MB / 0.7917 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/0.8639, allocations: 0.7447 MB / 0.7924 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009311/0.8648, allocations: 59.98 kB / 0.7925 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002172/0.867, allocations: 147.8 kB / 0.7926 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005256/0.8675, allocations: 210 kB / 0.7928 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/0.8677, allocations: 91.97 kB / 0.7929 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003941/0.8717, allocations: 2.013 MB / 0.7949 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8717, allocations: 0 / 0.7949 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004719/0.8764, allocations: 1.18 MB / 0.796 GB, free: 14.16 MB / 0.5137 GB 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.0118/0.8882, allocations: 7.252 MB / 0.8031 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00932/0.8975, allocations: 4.835 MB / 0.8079 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.8975, allocations: 4 kB / 0.8079 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/0.9016, allocations: 2.104 MB / 0.8099 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/0.9055, allocations: 0.6351 MB / 0.8105 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07862/0.9841, allocations: 39.03 MB / 0.8486 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008615/0.9927, allocations: 4.154 MB / 0.8527 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004414/0.9971, allocations: 1.326 MB / 0.854 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2125/1.21, allocations: 2.242 MB / 0.8562 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.21, allocations: 0.8125 kB / 0.8562 GB, free: 199.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/1.34, allocations: 89.26 MB / 0.9434 GB, free: 130.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.69/19.03, allocations: 0 / 0.9434 GB, free: 130.3 MB / 0.5606 GB " [Timeout remaining time 641] (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: 27.417423110920936] Failed to read output from testmodel.py, exit status != 0: 19.359190810006112 19.174123805 18.879647622 Calling exit ...