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.001328/0.001328, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001455/0.001455, allocations: 216.8 kB / 22.25 MB, free: 4.852 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.812 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.009338/0.009338, allocations: 1.3 MB / 313.7 MB, free: 1.641 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.001999/0.001999, allocations: 63.91 kB / 436.1 MB, free: 16.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1032, allocations: 53.66 MB / 489.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004902/0.1081, allocations: 3.067 MB / 492.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003622/0.1117, allocations: 2.227 MB / 495.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.1119, allocations: 11.94 kB / 495.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.1141, allocations: 1.062 MB / 496.2 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1149, allocations: 394.3 kB / 496.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003694/0.1152, allocations: 143.4 kB / 496.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006755/0.1159, allocations: 0.5449 MB / 497.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000211/0.1161, allocations: 80.61 kB / 497.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002701/0.1164, allocations: 259 kB / 497.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.1168, allocations: 347.1 kB / 497.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.1168, allocations: 32 kB / 497.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.117, allocations: 91.89 kB / 498 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002841/0.1173, allocations: 288.6 kB / 498.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.1176, allocations: 313.8 kB / 498.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.1188, allocations: 1.097 MB / 499.7 MB, free: 336 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1188, allocations: 4 kB / 499.7 MB, free: 332 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1188, allocations: 0 / 499.7 MB, free: 332 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1189, allocations: 0 / 499.7 MB, free: 332 kB / 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.002026/0.1209, allocations: 1.309 MB / 0.4893 GB, free: 14.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1209, allocations: 8.031 kB / 0.4893 GB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.121, allocations: 59.22 kB / 0.4893 GB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.1212, allocations: 131.3 kB / 0.4895 GB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01095/0.1322, allocations: 10.52 MB / 0.4997 GB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1322, allocations: 16.5 kB / 0.4998 GB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-05/0.1323, allocations: 24 kB / 0.4998 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/0.1327, allocations: 230.8 kB / 0.5 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.1328, allocations: 3.953 kB / 0.5 GB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.1328, allocations: 12 kB / 0.5 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1328, allocations: 7.938 kB / 0.5 GB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/0.1331, allocations: 145.8 kB / 0.5002 GB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.1372, allocations: 3.495 MB / 0.5036 GB, free: 220 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004194/0.1376, allocations: 178.8 kB / 0.5037 GB, free: 32 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.256/0.3937, allocations: 82.69 kB / 0.5038 GB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.3937, allocations: 7.594 kB / 0.5038 GB, free: 27.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.3937, allocations: 41.67 kB / 0.5039 GB, free: 27.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/0.3937, allocations: 0 / 0.5039 GB, free: 27.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002056/0.3958, allocations: 0.9333 MB / 0.5048 GB, free: 27.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.3958, allocations: 62 kB / 0.5048 GB, free: 27.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/0.411, allocations: 13.89 MB / 0.5184 GB, free: 22.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.411, allocations: 27.88 kB / 0.5184 GB, free: 22.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.4114, allocations: 480.5 kB / 0.5189 GB, free: 21.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.4115, allocations: 91.86 kB / 0.519 GB, free: 21.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.359e-05/0.4116, allocations: 58.48 kB / 0.519 GB, free: 21.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.4116, allocations: 316.5 kB / 0.5193 GB, free: 21.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.4117, allocations: 63.08 kB / 0.5194 GB, free: 21.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4119, allocations: 110.5 kB / 0.5195 GB, free: 21.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.4121, allocations: 178.7 kB / 0.5197 GB, free: 21.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4121, allocations: 0 / 0.5197 GB, free: 21.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008807/0.413, allocations: 385.2 kB / 0.52 GB, free: 20.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.413, allocations: 5.406 kB / 0.52 GB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.413, allocations: 1.281 kB / 0.52 GB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003281/0.4134, allocations: 76.41 kB / 0.5201 GB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.4135, allocations: 52.73 kB / 0.5202 GB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.4148, allocations: 2.165 MB / 0.5223 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.4152, allocations: 16.09 kB / 0.5223 GB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.4152, allocations: 15.09 kB / 0.5223 GB, free: 18.82 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 (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.0003612/0.4155, allocations: 374.2 kB / 0.5227 GB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.4157, allocations: 114.5 kB / 0.5228 GB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.4161, allocations: 298.1 kB / 0.5231 GB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4161, allocations: 2.672 kB / 0.5231 GB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4161, allocations: 1.938 kB / 0.5231 GB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4161, allocations: 2.328 kB / 0.5231 GB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.4174, allocations: 0.9646 MB / 0.524 GB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4174, allocations: 0 / 0.524 GB, free: 17.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.4176, allocations: 60.27 kB / 0.5241 GB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4176, allocations: 3.312 kB / 0.5241 GB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4176, allocations: 8.594 kB / 0.5241 GB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.4176, allocations: 0 / 0.5241 GB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4176, allocations: 3.875 kB / 0.5241 GB, free: 17.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.418, allocations: 471 kB / 0.5245 GB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.4184, allocations: 199.4 kB / 0.5247 GB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.4185, allocations: 8.75 kB / 0.5247 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.4187, allocations: 12 kB / 0.5247 GB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.4187, allocations: 18.89 kB / 0.5248 GB, free: 17.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.4187, allocations: 8.609 kB / 0.5248 GB, free: 17.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.007012/0.4257, allocations: 11.12 MB / 0.5356 GB, free: 6.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4257, allocations: 0 / 0.5356 GB, free: 6.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008498/0.4266, allocations: 112.6 kB / 0.5357 GB, free: 6.809 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.002097/0.4287, allocations: 1.285 MB / 0.537 GB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005998/0.4293, allocations: 307.6 kB / 0.5373 GB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4293, allocations: 0 / 0.5373 GB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.563e-05/0.4294, allocations: 74.78 kB / 0.5374 GB, free: 5.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.4302, allocations: 131.2 kB / 0.5375 GB, free: 5.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06607/0.4962, allocations: 44 MB / 0.5804 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/0.4968, allocations: 487 kB / 0.5809 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.4972, allocations: 120.7 kB / 0.581 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.4977, allocations: 331.3 kB / 0.5813 GB, free: 8.781 MB / 414.1 MB Notification: Performance of SimCode: time 1.412e-06/0.4977, allocations: 0 / 0.5813 GB, free: 8.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07369/0.5714, allocations: 27.33 MB / 0.608 GB, free: 13.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.25, allocations: 4 kB / 0.608 GB, free: 13.59 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.98121056566015] Failed to read output from testmodel.py, exit status != 0: 14.434779981151223 14.463760269 14.34005369 Calling exit ...