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.0008268/0.0008268, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007863/0.0007863, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8708/0.8708, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.005252/0.005252, allocations: 1.009 MB / 260.2 MB, free: 12.28 MB / 250.7 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 1.813e-06/1.813e-06, allocations: 0 / 382.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.006e-05, allocations: 4.953 kB / 382.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004437/0.004457, allocations: 3.071 MB / 385.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002642/0.007099, allocations: 2.246 MB / 388 MB, free: 8.738 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.007287, allocations: 11.94 kB / 388 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.008819, allocations: 1.062 MB / 389.1 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000408/0.009227, allocations: 398.2 kB / 389.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.009442, allocations: 143.6 kB / 389.6 MB, free: 7.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000434/0.009876, allocations: 0.5603 MB / 390.1 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.01006, allocations: 76.67 kB / 390.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.0103, allocations: 323.2 kB / 390.5 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005553/0.01086, allocations: 319.6 kB / 390.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.0109, allocations: 32 kB / 390.9 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.01105, allocations: 95.89 kB / 391 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01124, allocations: 288.6 kB / 391.3 MB, free: 5.457 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.01138, allocations: 235.2 kB / 391.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007421/0.01212, allocations: 1.047 MB / 392.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.01213, allocations: 0 / 392.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01213, allocations: 3.938 kB / 392.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.01214, allocations: 0 / 392.5 MB, free: 4.172 MB / 314.7 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.001288/0.01343, allocations: 1.325 MB / 393.9 MB, free: 2.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.01347, allocations: 12.03 kB / 393.9 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.058e-05/0.01356, allocations: 63.17 kB / 393.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.01367, allocations: 123.4 kB / 394.1 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00621/0.01988, allocations: 10.53 MB / 404.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.0199, allocations: 12.5 kB / 404.6 MB, free: 8.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.01994, allocations: 24 kB / 404.6 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.02022, allocations: 234.7 kB / 404.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.02024, allocations: 7.953 kB / 404.9 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.931e-05/0.02026, allocations: 12 kB / 404.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.02026, allocations: 4 kB / 404.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.02045, allocations: 145.9 kB / 405 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.02311, allocations: 3.519 MB / 408.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.02341, allocations: 174.8 kB / 408.7 MB, free: 3.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.02354, allocations: 80.81 kB / 408.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.02357, allocations: 4 kB / 408.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.02359, allocations: 34.94 kB / 408.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/0.02359, allocations: 4 kB / 408.8 MB, free: 3.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001181/0.02477, allocations: 0.9525 MB / 409.8 MB, free: 2.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.02481, allocations: 55.41 kB / 409.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1981/0.2229, allocations: 13.9 MB / 423.7 MB, free: 36.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.223, allocations: 31.05 kB / 423.8 MB, free: 36.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.2232, allocations: 482.1 kB / 424.2 MB, free: 36.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.2233, allocations: 90.92 kB / 424.3 MB, free: 36.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.2234, allocations: 59.42 kB / 424.4 MB, free: 36.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.2234, allocations: 324.6 kB / 424.7 MB, free: 35.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.2235, allocations: 57.03 kB / 424.8 MB, free: 35.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.2236, allocations: 110.1 kB / 424.9 MB, free: 35.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.2238, allocations: 183.5 kB / 425 MB, free: 35.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2238, allocations: 0 / 425 MB, free: 35.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000597/0.2244, allocations: 380.1 kB / 425.4 MB, free: 35.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.2244, allocations: 9.562 kB / 425.4 MB, free: 35.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2244, allocations: 2.406 kB / 425.4 MB, free: 35.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.2247, allocations: 76.45 kB / 425.5 MB, free: 35.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.2248, allocations: 47.44 kB / 425.5 MB, free: 35.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.2259, allocations: 2.168 MB / 427.7 MB, free: 33.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.226, allocations: 21.25 kB / 427.7 MB, free: 33.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.2261, allocations: 12.25 kB / 427.7 MB, free: 33.56 MB / 330.7 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.0003055/0.2264, allocations: 372 kB / 428.1 MB, free: 33.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.2265, allocations: 108.6 kB / 428.2 MB, free: 33.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.2268, allocations: 300.6 kB / 428.5 MB, free: 33.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2268, allocations: 4.25 kB / 428.5 MB, free: 33.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.2268, allocations: 3.938 kB / 428.5 MB, free: 33.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2268, allocations: 1.172 kB / 428.5 MB, free: 33.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009048/0.2277, allocations: 0.9706 MB / 429.5 MB, free: 32.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2277, allocations: 6.875 kB / 429.5 MB, free: 32.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2278, allocations: 61.36 kB / 429.6 MB, free: 32.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2278, allocations: 0 / 429.6 MB, free: 32.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2279, allocations: 8.328 kB / 429.6 MB, free: 32.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2279, allocations: 0 / 429.6 MB, free: 32.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2279, allocations: 1.5 kB / 429.6 MB, free: 32.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.2282, allocations: 463.5 kB / 430 MB, free: 32.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.2284, allocations: 205.5 kB / 430.2 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.2284, allocations: 7.812 kB / 430.2 MB, free: 32.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.2286, allocations: 24.77 kB / 430.2 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2286, allocations: 15.02 kB / 430.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2286, allocations: 4.812 kB / 430.3 MB, free: 32.22 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004967/0.2336, allocations: 11.13 MB / 441.4 MB, free: 21.97 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.2336, allocations: 0 / 441.4 MB, free: 21.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.2339, allocations: 114 kB / 441.5 MB, free: 21.86 MB / 330.7 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.001058/0.235, allocations: 1.288 MB / 442.8 MB, free: 20.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.2354, allocations: 305.4 kB / 443.1 MB, free: 20.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2354, allocations: 8 kB / 443.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.644e-05/0.2354, allocations: 73.94 kB / 443.2 MB, free: 20.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005128/0.2359, allocations: 142.9 kB / 443.3 MB, free: 20.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03962/0.2756, allocations: 43.99 MB / 487.3 MB, free: 8.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.276, allocations: 487 kB / 487.8 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002816/0.2763, allocations: 120.7 kB / 487.9 MB, free: 7.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.2766, allocations: 352.3 kB / 488.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of SimCode: time 2.615e-06/0.2766, allocations: 2.734 kB / 488.3 MB, free: 7.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.3178, allocations: 27.3 MB / 0.5035 GB, free: 12.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.122, allocations: 11.86 kB / 0.5035 GB, free: 12.45 MB / 394.7 MB " [Timeout remaining time 651] (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: 11.0012609353289] Failed to read output from testmodel.py, exit status != 0: 9.235861944034696 9.245336332 9.231305955 Calling exit ...