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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo", uses=false) Using package Credibility with version 0.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001046, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007371/0.007371, allocations: 1.28 MB / 292.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003129, allocations: 4 kB / 353.6 MB, free: 2.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3323, allocations: 50.69 MB / 404.3 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.004132/0.3365, allocations: 2.738 MB / 407 MB, free: 8.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.3392, allocations: 1.992 MB / 409 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.3394, allocations: 11.66 kB / 409.1 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.3416, allocations: 0.9362 MB / 410 MB, free: 7.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.3423, allocations: 289 kB / 410.3 MB, free: 7.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.3427, allocations: 117.5 kB / 410.4 MB, free: 7.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.3433, allocations: 475.7 kB / 410.8 MB, free: 6.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.3436, allocations: 105.5 kB / 411 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.3439, allocations: 200.8 kB / 411.1 MB, free: 6.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.3444, allocations: 277.3 kB / 411.4 MB, free: 6.672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.3444, allocations: 18.41 kB / 411.4 MB, free: 6.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.3446, allocations: 63.03 kB / 411.5 MB, free: 6.652 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003297/0.345, allocations: 265.2 kB / 411.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3451, allocations: 182.3 kB / 411.9 MB, free: 6.426 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3462, allocations: 0.8445 MB / 412.8 MB, free: 6.219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.3462, allocations: 1 kB / 412.8 MB, free: 6.219 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3462, allocations: 0 / 412.8 MB, free: 6.219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.3463, allocations: 0 / 412.8 MB, free: 6.219 MB / 286.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.001649/0.3479, allocations: 1.192 MB / 414 MB, free: 5.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.348, allocations: 14.34 kB / 414 MB, free: 5.348 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.042e-05/0.3481, allocations: 60.64 kB / 414 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3482, allocations: 112.2 kB / 414.2 MB, free: 5.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.3608, allocations: 10.51 MB / 424.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3609, allocations: 18.08 kB / 424.7 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.3609, allocations: 32.42 kB / 424.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.3614, allocations: 225 kB / 424.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.3614, allocations: 10.06 kB / 424.9 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3615, allocations: 14.75 kB / 425 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3615, allocations: 9.453 kB / 425 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002893/0.3618, allocations: 143.5 kB / 425.1 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.3664, allocations: 3.695 MB / 428.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004541/0.3669, allocations: 256.5 kB / 429.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3671, allocations: 101.7 kB / 429.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/0.3671, allocations: 192 / 429.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3671, allocations: 34.75 kB / 429.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.784e-06/0.3672, allocations: 0 / 429.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001704/0.3689, allocations: 1.076 MB / 430.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3689, allocations: 59.36 kB / 430.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/0.382, allocations: 13.87 MB / 444.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/0.3821, allocations: 33.7 kB / 444.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004323/0.3825, allocations: 472.6 kB / 444.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/0.3826, allocations: 90.64 kB / 444.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/0.3827, allocations: 8 kB / 444.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3828, allocations: 318 kB / 445.1 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.3829, allocations: 60.53 kB / 445.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.383, allocations: 102.7 kB / 445.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3832, allocations: 83.98 kB / 445.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3832, allocations: 0 / 445.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008669/0.3841, allocations: 374.3 kB / 445.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.3841, allocations: 4 kB / 445.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3841, allocations: 3.984 kB / 445.7 MB, free: 13.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000328/0.3845, allocations: 82.64 kB / 445.8 MB, free: 13.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3846, allocations: 44.73 kB / 445.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/0.3864, allocations: 2.102 MB / 447.9 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003297/0.3868, allocations: 20.16 kB / 448 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3868, allocations: 8 kB / 448 MB, free: 10.81 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005562/0.3874, allocations: 373.7 kB / 448.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.3875, allocations: 106.6 kB / 448.4 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.388, allocations: 291.7 kB / 448.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-06/0.388, allocations: 4 kB / 448.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.388, allocations: 0 / 448.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.388, allocations: 7.984 kB / 448.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.3896, allocations: 1.153 MB / 449.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.3896, allocations: 0 / 449.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.3899, allocations: 55.91 kB / 449.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3899, allocations: 8.031 kB / 449.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.3899, allocations: 7.938 kB / 450 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3899, allocations: 4 kB / 450 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3899, allocations: 0 / 450 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.3905, allocations: 448.1 kB / 450.4 MB, free: 8.273 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.3909, allocations: 271.7 kB / 450.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/0.391, allocations: 12.08 kB / 450.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3913, allocations: 16 kB / 450.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.3913, allocations: 19.91 kB / 450.7 MB, free: 7.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.3913, allocations: 8.125 kB / 450.7 MB, free: 7.934 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0103/0.4016, allocations: 11.12 MB / 461.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.4017, allocations: 0 / 461.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009042/0.4026, allocations: 104 kB / 461.9 MB, free: 12.71 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.4044, allocations: 1.25 MB / 463.2 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.4051, allocations: 306.5 kB / 463.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4052, allocations: 0 / 463.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.4053, allocations: 87.77 kB / 463.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.4064, allocations: 124.4 kB / 463.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03811/0.4445, allocations: 32.59 MB / 496.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009191/0.4455, allocations: 1.078 MB / 497.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005572/0.4461, allocations: 120.7 kB / 497.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006782/0.4468, allocations: 331.3 kB / 497.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4468, allocations: 0 / 497.8 MB, free: 8.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04302/0.4898, allocations: 21.99 MB / 0.5076 GB, free: 2.953 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.4901, allocations: 292 kB / 0.5079 GB, free: 2.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.496, allocations: 3.125 kB / 0.5079 GB, free: 2.582 MB / 382.1 MB (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/linux/bin/OMSimulator --tempDir=temp_Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Credibility_Credibility_Examples_SimpleControlledDriveNonlinear_SimpleDrive_forFMU.fmu > Credibility_Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU.pipe 2>&1) Environment - environmentSimulation: