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.001232/0.001232, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.001215/0.001215, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.402/1.402, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.009632/0.009632, allocations: 1.31 MB / 304 MB, free: 8.547 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: "" <> 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.00194/0.00194, allocations: 67.89 kB / 422.5 MB, free: 24.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09268/0.09462, allocations: 52.45 MB / 474.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.005292/0.09991, allocations: 3.232 MB / 478.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.1035, allocations: 2.25 MB / 480.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1037, allocations: 8 kB / 480.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.1061, allocations: 1.087 MB / 481.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.1066, allocations: 354.2 kB / 481.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003356/0.107, allocations: 143.6 kB / 482 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007544/0.1077, allocations: 0.5254 MB / 482.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.1079, allocations: 91.98 kB / 482.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.1082, allocations: 243 kB / 482.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004113/0.1086, allocations: 367.1 kB / 483.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1087, allocations: 32 kB / 483.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002229/0.1089, allocations: 87.95 kB / 483.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.1092, allocations: 288.6 kB / 483.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004017/0.1096, allocations: 425.3 kB / 484 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.1108, allocations: 1.074 MB / 485.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1108, allocations: 0 / 485.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1108, allocations: 4 kB / 485.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.183e-05/0.1108, allocations: 3.938 kB / 485.1 MB, free: 9.773 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.00207/0.1129, allocations: 1.372 MB / 486.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.113, allocations: 8.031 kB / 486.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.1131, allocations: 71.17 kB / 486.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.1133, allocations: 119.4 kB / 486.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.1241, allocations: 10.57 MB / 497.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1242, allocations: 16.56 kB / 497.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.1242, allocations: 27.98 kB / 497.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.1246, allocations: 227.7 kB / 497.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.1246, allocations: 3.938 kB / 497.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.1247, allocations: 12 kB / 497.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1247, allocations: 7.938 kB / 497.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.125, allocations: 146.2 kB / 497.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004234/0.1292, allocations: 3.695 MB / 0.4896 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004292/0.1296, allocations: 257.9 kB / 0.4899 GB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1298, allocations: 84.81 kB / 0.49 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1298, allocations: 384 / 0.49 GB, free: 8.945 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1299, allocations: 38.5 kB / 0.49 GB, free: 8.898 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.1299, allocations: 3.938 kB / 0.49 GB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002056/0.1319, allocations: 1.085 MB / 0.4911 GB, free: 7.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.132, allocations: 55.41 kB / 0.4911 GB, free: 7.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01464/0.1466, allocations: 13.89 MB / 0.5047 GB, free: 9.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.1466, allocations: 37.64 kB / 0.5047 GB, free: 9.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004687/0.1471, allocations: 472.9 kB / 0.5052 GB, free: 9.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1472, allocations: 95.16 kB / 0.5052 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.934e-05/0.1473, allocations: 57.94 kB / 0.5053 GB, free: 9.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1475, allocations: 322 kB / 0.5056 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.1476, allocations: 60.53 kB / 0.5057 GB, free: 8.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1477, allocations: 107 kB / 0.5058 GB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.1481, allocations: 177.1 kB / 0.5059 GB, free: 8.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.1481, allocations: 4 kB / 0.5059 GB, free: 8.383 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007841/0.1489, allocations: 382.4 kB / 0.5063 GB, free: 7.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1489, allocations: 4 kB / 0.5063 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1489, allocations: 0 / 0.5063 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.1493, allocations: 77.61 kB / 0.5064 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1494, allocations: 43.97 kB / 0.5064 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.1517, allocations: 2.277 MB / 0.5086 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.152, allocations: 27.88 kB / 0.5087 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.152, allocations: 8 kB / 0.5087 GB, free: 5.395 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.0004383/0.1525, allocations: 373.7 kB / 0.509 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002564/0.1527, allocations: 107.5 kB / 0.5091 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.1532, allocations: 291.5 kB / 0.5094 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1532, allocations: 4 kB / 0.5094 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1532, allocations: 3.938 kB / 0.5094 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1532, allocations: 7.922 kB / 0.5094 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.155, allocations: 1.136 MB / 0.5105 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.155, allocations: 0 / 0.5105 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1552, allocations: 67.88 kB / 0.5106 GB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.1553, allocations: 4 kB / 0.5106 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1553, allocations: 4 kB / 0.5106 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1553, allocations: 0 / 0.5106 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1553, allocations: 4 kB / 0.5106 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.156, allocations: 453.4 kB / 0.5111 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004276/0.1565, allocations: 280.3 kB / 0.5113 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.625e-05/0.1565, allocations: 12 kB / 0.5113 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.1568, allocations: 16.12 kB / 0.5113 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.1568, allocations: 15.97 kB / 0.5114 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1568, allocations: 4 kB / 0.5114 GB, free: 2.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2016/0.3584, allocations: 11.11 MB / 0.5222 GB, free: 47.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3584, allocations: 0.5 kB / 0.5222 GB, free: 47.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009388/0.3594, allocations: 112.8 kB / 0.5223 GB, free: 47.19 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.001884/0.3613, allocations: 1.25 MB / 0.5235 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.3619, allocations: 299 kB / 0.5238 GB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3619, allocations: 0 / 0.5238 GB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.362, allocations: 78.59 kB / 0.5239 GB, free: 46.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007978/0.3628, allocations: 146.8 kB / 0.524 GB, free: 46.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05083/0.4137, allocations: 43.89 MB / 0.5669 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.4141, allocations: 1.07 MB / 0.568 GB, free: 7.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002691/0.4143, allocations: 132.8 kB / 0.5681 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.4148, allocations: 327.3 kB / 0.5684 GB, free: 7.016 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4148, allocations: 4 kB / 0.5684 GB, free: 7.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/0.4765, allocations: 26.3 MB / 0.5941 GB, free: 12.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.38, allocations: 8 kB / 0.5941 GB, free: 12.93 MB / 414.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 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: 18.366016347892582] Failed to read output from testmodel.py, exit status != 0: 15.539587104693055 15.568948979 15.453579237 Calling exit ...