Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.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.001914/0.001914, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 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.003118/0.003118, allocations: 190.1 kB / 22.23 MB, free: 5.16 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.518/1.518, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/package.mo): time 0.009473/0.009473, allocations: 1.311 MB / 307.6 MB, free: 7.379 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package Credibility with version 0.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.2.0-main/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 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: translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU")
translateModel(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 71.83 kB / 428.2 MB, free: 22.57 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1281, allocations: 52.48 MB / 480.7 MB, free: 1.988 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005795/0.1339, allocations: 3.267 MB / 483.9 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005868/0.1397, allocations: 2.254 MB / 486.2 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005917/0.1403, allocations: 8 kB / 486.2 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003854/0.1442, allocations: 1.094 MB / 487.3 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001272/0.1455, allocations: 354.6 kB / 487.6 MB, free: 11 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007057/0.1462, allocations: 143.6 kB / 487.8 MB, free: 10.86 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001277/0.1474, allocations: 0.5293 MB / 488.3 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.1478, allocations: 96.58 kB / 488.4 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004521/0.1482, allocations: 247.1 kB / 488.6 MB, free: 9.977 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006192/0.1488, allocations: 363.1 kB / 489 MB, free: 9.621 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.565e-05/0.1489, allocations: 32 kB / 489 MB, free: 9.59 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003751/0.1493, allocations: 95.88 kB / 489.1 MB, free: 9.496 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.1497, allocations: 272.7 kB / 489.4 MB, free: 9.23 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004941/0.1502, allocations: 357.5 kB / 489.7 MB, free: 8.879 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001758/0.152, allocations: 0.8946 MB / 490.6 MB, free: 7.98 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.152, allocations: 0 / 490.6 MB, free: 7.98 MB / 350.1 MB
Notification: Performance of FrontEnd: time 2.324e-06/0.152, allocations: 0 / 490.6 MB, free: 7.98 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.66e-05/0.152, allocations: 0 / 490.6 MB, free: 7.98 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: 56
 * Number of variables: 56
Notification: Performance of Generate backend data structure: time 0.002713/0.1547, allocations: 1.129 MB / 491.8 MB, free: 6.82 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.047e-05/0.1548, allocations: 8.922 kB / 491.8 MB, free: 6.812 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002408/0.155, allocations: 111.6 kB / 491.9 MB, free: 6.703 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.1569, allocations: 0.8615 MB / 492.7 MB, free: 5.801 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.1569, allocations: 16.5 kB / 492.8 MB, free: 5.781 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/0.157, allocations: 28 kB / 492.8 MB, free: 5.754 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.1576, allocations: 218.8 kB / 493 MB, free: 5.527 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1576, allocations: 3.953 kB / 493 MB, free: 5.523 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.978e-05/0.1576, allocations: 15.98 kB / 493 MB, free: 5.508 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1577, allocations: 7.938 kB / 493 MB, free: 5.5 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.1581, allocations: 145.9 kB / 493.2 MB, free: 5.359 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.1609, allocations: 1.266 MB / 494.4 MB, free: 4.027 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.1615, allocations: 170.8 kB / 494.6 MB, free: 3.852 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/0.1618, allocations: 84.75 kB / 494.7 MB, free: 3.766 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.1619, allocations: 8 kB / 494.7 MB, free: 3.758 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.1619, allocations: 34.94 kB / 494.7 MB, free: 3.715 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=21): time 2.895e-06/0.1619, allocations: 4 kB / 494.7 MB, free: 3.711 MB / 350.1 MB
Notification: Performance of matching and sorting (n=25): time 0.002725/0.1646, allocations: 0.8997 MB / 495.6 MB, free: 2.758 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.919e-05/0.1647, allocations: 55.41 kB / 495.7 MB, free: 2.691 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.1684, allocations: 1.752 MB / 497.4 MB, free: 0.918 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.1684, allocations: 29.7 kB / 497.5 MB, free: 0.8828 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.169, allocations: 377.2 kB / 497.8 MB, free: 0.5117 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.1692, allocations: 107.2 kB / 497.9 MB, free: 416 kB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005519/0.1697, allocations: 246.4 kB / 498.2 MB, free: 164 kB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002863/0.17, allocations: 349.9 kB / 498.5 MB, free: 15.81 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.1711, allocations: 457.8 kB / 499 MB, free: 15.36 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.1723, allocations: 0.5545 MB / 499.5 MB, free: 14.79 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.1739, allocations: 0.6513 MB / 0.4884 GB, free: 14.12 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.1739, allocations: 0 / 0.4884 GB, free: 14.12 MB / 366.1 MB
Notification: Performance of matching and sorting (n=121) (initialization): time 0.00376/0.1777, allocations: 1.283 MB / 0.4897 GB, free: 12.82 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.1777, allocations: 4.938 kB / 0.4897 GB, free: 12.82 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.1777, allocations: 4 kB / 0.4897 GB, free: 12.82 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/0.1783, allocations: 89.88 kB / 0.4898 GB, free: 12.72 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.1794, allocations: 175.7 kB / 0.49 GB, free: 12.55 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/0.1829, allocations: 2.174 MB / 0.4921 GB, free: 10.24 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.1836, allocations: 36.11 kB / 0.4921 GB, free: 10.21 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/0.1837, allocations: 28 kB / 0.4921 GB, free: 10.18 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 6
 * 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 (115):
 * Single equations (assignments): 113
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0008502/0.1846, allocations: 377.5 kB / 0.4925 GB, free: 9.801 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.1848, allocations: 91.39 kB / 0.4926 GB, free: 9.711 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008174/0.1856, allocations: 254.3 kB / 0.4928 GB, free: 9.453 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1857, allocations: 4 kB / 0.4928 GB, free: 9.449 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.1857, allocations: 0 / 0.4928 GB, free: 9.449 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1857, allocations: 4 kB / 0.4928 GB, free: 9.445 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.1881, allocations: 0.9598 MB / 0.4938 GB, free: 8.418 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.1881, allocations: 4 kB / 0.4938 GB, free: 8.414 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1886, allocations: 52.16 kB / 0.4938 GB, free: 8.363 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.1886, allocations: 4 kB / 0.4938 GB, free: 8.359 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.1887, allocations: 11.94 kB / 0.4938 GB, free: 8.348 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.1887, allocations: 0 / 0.4938 GB, free: 8.348 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1887, allocations: 4.031 kB / 0.4939 GB, free: 8.344 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.1898, allocations: 441.2 kB / 0.4943 GB, free: 7.895 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/0.1904, allocations: 151.3 kB / 0.4944 GB, free: 7.746 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.1905, allocations: 7.938 kB / 0.4944 GB, free: 7.738 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.1909, allocations: 8 kB / 0.4944 GB, free: 7.73 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.1909, allocations: 11.97 kB / 0.4944 GB, free: 7.719 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.28e-05/0.1909, allocations: 15.94 kB / 0.4945 GB, free: 7.703 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.002622/0.1936, allocations: 1.138 MB / 0.4956 GB, free: 6.555 MB / 366.1 MB
Notification: Performance of sort global known variables: time 2.3e-07/0.1936, allocations: 7.938 kB / 0.4956 GB, free: 6.547 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.00111/0.1947, allocations: 167.9 kB / 0.4957 GB, free: 6.383 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 4 (damper.phi_rel,damper.w_rel,inertiaLoad.w,loadTorque.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 (25):
 * Single equations (assignments): 25
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/0.1967, allocations: 370.8 kB / 0.4961 GB, free: 6.148 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002393/0.1991, allocations: 0.7656 MB / 0.4968 GB, free: 5.367 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1991, allocations: 0 / 0.4968 GB, free: 5.367 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.1995, allocations: 71.91 kB / 0.4969 GB, free: 5.297 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.2009, allocations: 129.5 kB / 0.497 GB, free: 5.18 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.207, allocations: 1.941 MB / 0.4989 GB, free: 3.203 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.2085, allocations: 1.078 MB / 0.5 GB, free: 2.098 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0004896/0.209, allocations: 76.36 kB / 0.5001 GB, free: 2.023 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.2092, allocations: 39.42 kB / 0.5001 GB, free: 1.984 MB / 366.1 MB
Notification: Performance of SimCode: time 2.975e-06/0.2092, allocations: 0 / 0.5001 GB, free: 1.984 MB / 366.1 MB
Notification: Performance of Templates: time 0.02938/0.2386, allocations: 6.783 MB / 0.5067 GB, free: 11.23 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.makefile [Timeout 660]
(rm -f Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; mkfifo Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe ; head -c 1048576 < Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe >> ../files/Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.sim & ./Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU  -abortSlowSimulation -alarm=480 -lv LOG_STATS > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.197373175062239]
Failed to read output from testmodel.py, exit status != 0:
0.24815759528428316 0.494897181 0.339083513
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2b222757b0>