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.001547/0.001547, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001841/0.001841, allocations: 216.5 kB / 22.26 MB, free: 5.082 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.794/1.794, allocations: 230.6 MB / 256 MB, free: 8.012 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.01078/0.01078, allocations: 1.307 MB / 313.7 MB, free: 1.844 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.002208/0.002208, allocations: 63.91 kB / 436.2 MB, free: 16.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1527, allocations: 53.66 MB / 489.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.006808/0.1595, allocations: 3.293 MB / 493.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005159/0.1646, allocations: 2.413 MB / 495.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004288/0.1651, allocations: 8 kB / 495.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003073/0.1681, allocations: 1.091 MB / 496.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009116/0.1691, allocations: 402.3 kB / 497.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004928/0.1695, allocations: 139.7 kB / 497.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009866/0.1705, allocations: 0.5371 MB / 497.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.1708, allocations: 92.59 kB / 497.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003717/0.1712, allocations: 251 kB / 498.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007421/0.1719, allocations: 371.1 kB / 498.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.305e-05/0.172, allocations: 32 kB / 498.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002734/0.1722, allocations: 91.89 kB / 498.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.1726, allocations: 288.5 kB / 498.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.1731, allocations: 429.2 kB / 499.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.1747, allocations: 1.089 MB / 0.4886 GB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1747, allocations: 0 / 0.4886 GB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1747, allocations: 4 kB / 0.4886 GB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1747, allocations: 0 / 0.4886 GB, free: 15.96 MB / 366.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.002515/0.1772, allocations: 1.305 MB / 0.4899 GB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1773, allocations: 11.97 kB / 0.4899 GB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.1774, allocations: 63.23 kB / 0.49 GB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1775, allocations: 123.3 kB / 0.4901 GB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01232/0.1899, allocations: 10.51 MB / 0.5004 GB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.1899, allocations: 16.5 kB / 0.5004 GB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.524e-05/0.19, allocations: 24 kB / 0.5004 GB, free: 3.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.1905, allocations: 234.7 kB / 0.5006 GB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.1905, allocations: 3.953 kB / 0.5006 GB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.1906, allocations: 11.98 kB / 0.5006 GB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1906, allocations: 11.94 kB / 0.5006 GB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.1909, allocations: 145.9 kB / 0.5008 GB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3106/0.5014, allocations: 3.613 MB / 0.5043 GB, free: 26.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.5022, allocations: 179.7 kB / 0.5045 GB, free: 26.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.5024, allocations: 83.48 kB / 0.5046 GB, free: 26.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.034e-05/0.5025, allocations: 7.156 kB / 0.5046 GB, free: 26.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.5025, allocations: 36.72 kB / 0.5046 GB, free: 26.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 3.236e-06/0.5025, allocations: 0.5312 kB / 0.5046 GB, free: 26.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.002556/0.5051, allocations: 0.9442 MB / 0.5055 GB, free: 26.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.5051, allocations: 59.41 kB / 0.5056 GB, free: 26.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01858/0.5237, allocations: 13.89 MB / 0.5191 GB, free: 21.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.01e-05/0.5238, allocations: 30.95 kB / 0.5192 GB, free: 21.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/0.5242, allocations: 475.8 kB / 0.5196 GB, free: 20.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.5243, allocations: 103.2 kB / 0.5197 GB, free: 20.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.5245, allocations: 48.94 kB / 0.5198 GB, free: 20.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5246, allocations: 315.4 kB / 0.5201 GB, free: 20.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5248, allocations: 56.92 kB / 0.5201 GB, free: 20.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.5249, allocations: 113.4 kB / 0.5202 GB, free: 20.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.5252, allocations: 184.2 kB / 0.5204 GB, free: 20.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5252, allocations: 0 / 0.5204 GB, free: 20.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001201/0.5264, allocations: 381.7 kB / 0.5208 GB, free: 20.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5264, allocations: 7.906 kB / 0.5208 GB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.5264, allocations: 0 / 0.5208 GB, free: 20.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003561/0.5268, allocations: 79.61 kB / 0.5209 GB, free: 20.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.5269, allocations: 57.44 kB / 0.5209 GB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.5287, allocations: 2.171 MB / 0.523 GB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.5292, allocations: 15.38 kB / 0.523 GB, free: 18.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.5292, allocations: 12.12 kB / 0.5231 GB, free: 18.06 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.0005448/0.5298, allocations: 375.8 kB / 0.5234 GB, free: 17.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.53, allocations: 109.2 kB / 0.5235 GB, free: 17.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006953/0.5307, allocations: 295.4 kB / 0.5238 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.5307, allocations: 7.562 kB / 0.5238 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5308, allocations: 1.938 kB / 0.5238 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.5308, allocations: 0.9844 kB / 0.5238 GB, free: 17.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.5329, allocations: 1.118 MB / 0.5249 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.533, allocations: 0 / 0.5249 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.5332, allocations: 57.05 kB / 0.525 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5332, allocations: 0.5625 kB / 0.525 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.5332, allocations: 15.06 kB / 0.525 GB, free: 17.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.5332, allocations: 4.5 kB / 0.525 GB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5332, allocations: 0 / 0.525 GB, free: 17.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/0.5339, allocations: 456.7 kB / 0.5254 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/0.5343, allocations: 199.2 kB / 0.5256 GB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.347e-05/0.5344, allocations: 6.625 kB / 0.5256 GB, free: 16.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.5346, allocations: 18.47 kB / 0.5256 GB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.5347, allocations: 18.28 kB / 0.5256 GB, free: 16.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.5347, allocations: 7.219 kB / 0.5257 GB, free: 16.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.008215/0.5429, allocations: 11.12 MB / 0.5365 GB, free: 6.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5429, allocations: 0 / 0.5365 GB, free: 6.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009577/0.5439, allocations: 115.2 kB / 0.5366 GB, free: 6.152 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.002418/0.5463, allocations: 1.267 MB / 0.5379 GB, free: 5.062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009821/0.5473, allocations: 317.1 kB / 0.5382 GB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/0.5473, allocations: 0 / 0.5382 GB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.5474, allocations: 70.5 kB / 0.5382 GB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5484, allocations: 139 kB / 0.5384 GB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07514/0.6236, allocations: 43.96 MB / 0.5813 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001065/0.6246, allocations: 1.081 MB / 0.5823 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004771/0.6251, allocations: 120.7 kB / 0.5825 GB, free: 7.672 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005787/0.6257, allocations: 327.3 kB / 0.5828 GB, free: 7.352 MB / 414.1 MB Notification: Performance of SimCode: time 3.907e-06/0.6257, allocations: 0 / 0.5828 GB, free: 7.352 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08875/0.7144, allocations: 26.57 MB / 0.6087 GB, free: 12.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/19.02, allocations: 0 / 0.6087 GB, free: 12.93 MB / 446.1 MB " [Timeout remaining time 641] (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: 22.436113559997466] Failed to read output from testmodel.py, exit status != 0: 19.21416867899825 19.241717832 19.062210603 Calling exit ...