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.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.001337/0.001337, allocations: 106.7 kB / 16.45 MB, free: 6.508 MB / 14.72 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.001374/0.001374, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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 1.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/package.mo): time 0.01458/0.01458, allocations: 1.311 MB / 310.2 MB, free: 2.98 MB / 238.1 MB " [Timeout remaining time 180] Using package Credibility with version 0.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility main/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 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(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU,fileNamePrefix="Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 63.89 kB / 431 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1327, allocations: 53.62 MB / 484.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.007638/0.1403, allocations: 3.268 MB / 487.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00588/0.1462, allocations: 2.398 MB / 490.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005194/0.1467, allocations: 11.94 kB / 490.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003606/0.1503, allocations: 1.083 MB / 491.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1516, allocations: 402.1 kB / 491.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005933/0.1522, allocations: 139.7 kB / 491.9 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.1533, allocations: 0.5371 MB / 492.5 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003266/0.1536, allocations: 92.12 kB / 492.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.154, allocations: 251 kB / 492.8 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.1546, allocations: 367.1 kB / 493.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.1546, allocations: 32 kB / 493.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.1549, allocations: 91.94 kB / 493.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.1553, allocations: 292.5 kB / 493.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.1559, allocations: 429.3 kB / 494 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.1577, allocations: 1.093 MB / 495.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1577, allocations: 0 / 495.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1577, allocations: 0 / 495.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1578, allocations: 0 / 495.1 MB, free: 1.496 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.002866/0.1606, allocations: 1.372 MB / 496.4 MB, free: 72 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.1607, allocations: 15.97 kB / 496.5 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.1608, allocations: 67.28 kB / 496.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002727/0.1611, allocations: 119.3 kB / 496.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.1766, allocations: 10.57 MB / 0.4953 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.859e-05/0.1766, allocations: 16.56 kB / 0.4953 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.1767, allocations: 24 kB / 0.4954 GB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006868/0.1774, allocations: 235.7 kB / 0.4956 GB, free: 4.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.1774, allocations: 3.953 kB / 0.4956 GB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.1775, allocations: 16 kB / 0.4956 GB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.1775, allocations: 7.938 kB / 0.4956 GB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.1779, allocations: 138.2 kB / 0.4958 GB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00595/0.1838, allocations: 3.695 MB / 0.4994 GB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/0.1845, allocations: 255.9 kB / 0.4996 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.1848, allocations: 84.81 kB / 0.4997 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.1848, allocations: 4.375 kB / 0.4997 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.1849, allocations: 38.5 kB / 0.4997 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 5.18e-06/0.1849, allocations: 0 / 0.4997 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002817/0.1877, allocations: 1.082 MB / 0.5008 GB, free: 15.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.1877, allocations: 51.41 kB / 0.5008 GB, free: 15.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02197/0.2097, allocations: 13.89 MB / 0.5144 GB, free: 1.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.2098, allocations: 29.7 kB / 0.5144 GB, free: 1.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.2105, allocations: 476.9 kB / 0.5149 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.2107, allocations: 103.1 kB / 0.515 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.2108, allocations: 53.98 kB / 0.515 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002077/0.211, allocations: 314 kB / 0.5153 GB, free: 488 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.2112, allocations: 60.53 kB / 0.5154 GB, free: 428 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2114, allocations: 103.1 kB / 0.5155 GB, free: 308 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.2118, allocations: 189.5 kB / 0.5157 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2119, allocations: 0 / 0.5157 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.2264/0.4383, allocations: 373.7 kB / 0.516 GB, free: 43.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4383, allocations: 6.219 kB / 0.516 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.4383, allocations: 1.891 kB / 0.516 GB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.4387, allocations: 78.5 kB / 0.5161 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.4388, allocations: 53.2 kB / 0.5162 GB, free: 43.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.4402, allocations: 2.278 MB / 0.5184 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.4406, allocations: 15.69 kB / 0.5184 GB, free: 41.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.4406, allocations: 10.66 kB / 0.5184 GB, free: 41.2 MB / 382.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 (28): * Single equations (assignments): 26 * 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.0004477/0.441, allocations: 374.7 kB / 0.5188 GB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4412, allocations: 112.9 kB / 0.5189 GB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.4416, allocations: 302.8 kB / 0.5192 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4416, allocations: 2.062 kB / 0.5192 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.4416, allocations: 0 / 0.5192 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.4417, allocations: 2.109 kB / 0.5192 GB, free: 41.03 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.4429, allocations: 1.148 MB / 0.5203 GB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4429, allocations: 4.812 kB / 0.5203 GB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.4432, allocations: 61.02 kB / 0.5204 GB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4432, allocations: 1.156 kB / 0.5204 GB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.4432, allocations: 10.19 kB / 0.5204 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4432, allocations: 1.062 kB / 0.5204 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4432, allocations: 0 / 0.5204 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.4437, allocations: 458.3 kB / 0.5208 GB, free: 40.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000284/0.4439, allocations: 278.7 kB / 0.5211 GB, free: 40.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-05/0.444, allocations: 9.984 kB / 0.5211 GB, free: 40.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.4442, allocations: 13.78 kB / 0.5211 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.4443, allocations: 24.91 kB / 0.5211 GB, free: 40.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4443, allocations: 5.531 kB / 0.5211 GB, free: 40.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.009297/0.4536, allocations: 11.12 MB / 0.532 GB, free: 35.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4536, allocations: 3.531 kB / 0.532 GB, free: 35.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008098/0.4544, allocations: 110.7 kB / 0.5321 GB, free: 35.61 MB / 382.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.002037/0.4564, allocations: 1.267 MB / 0.5333 GB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000694/0.4571, allocations: 303.3 kB / 0.5336 GB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4571, allocations: 1.312 kB / 0.5336 GB, free: 34.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4573, allocations: 76.22 kB / 0.5337 GB, free: 34.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.4582, allocations: 133.4 kB / 0.5338 GB, free: 34.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0542/0.5124, allocations: 43.94 MB / 0.5767 GB, free: 9.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/0.5132, allocations: 1.074 MB / 0.5778 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.5136, allocations: 120.7 kB / 0.5779 GB, free: 8.598 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.5142, allocations: 331.3 kB / 0.5782 GB, free: 8.273 MB / 398.1 MB Notification: Performance of SimCode: time 1.432e-06/0.5142, allocations: 0 / 0.5782 GB, free: 8.273 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08887/0.6031, allocations: 26.37 MB / 0.604 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.61, allocations: 13.73 kB / 0.604 GB, free: 14.13 MB / 430.1 MB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU.fmu > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.349180760094896] Failed to read output from testmodel.py, exit status != 0: 14.778695934219286 14.806847461 14.643718938 Calling exit ...