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.0009056/0.0009056, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008918/0.0008922, allocations: 177.3 kB / 15.95 MB, free: 216 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.243/1.243, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Credibility 0.1.0-main/package.mo): time 0.007323/0.007323, allocations: 1.269 MB / 292.2 MB, free: 0.9961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 8 kB / 353.5 MB, free: 2.062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2137, allocations: 50.69 MB / 404.2 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Credibility.Examples.SimpleControlledDriveNonlinear.SimpleDrive_forFMU): time 0.003082/0.2169, allocations: 2.661 MB / 406.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.2192, allocations: 2.072 MB / 408.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.2194, allocations: 10.44 kB / 409 MB, free: 7.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2212, allocations: 0.9305 MB / 409.9 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005436/0.2217, allocations: 323.7 kB / 410.2 MB, free: 7.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003181/0.222, allocations: 114.1 kB / 410.3 MB, free: 7.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.2225, allocations: 353.9 kB / 410.7 MB, free: 6.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2227, allocations: 111.2 kB / 410.8 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.2229, allocations: 206.9 kB / 411 MB, free: 6.789 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002998/0.2232, allocations: 256.1 kB / 411.2 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.781e-05/0.2232, allocations: 14.09 kB / 411.2 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.2234, allocations: 53.91 kB / 411.3 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.2236, allocations: 266 kB / 411.5 MB, free: 6.621 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.2237, allocations: 174.4 kB / 411.7 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007865/0.2245, allocations: 0.8481 MB / 412.6 MB, free: 6.277 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.2245, allocations: 3.938 kB / 412.6 MB, free: 6.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2245, allocations: 5.281 kB / 412.6 MB, free: 6.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.2245, allocations: 3.938 kB / 412.6 MB, free: 6.266 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.001473/0.226, allocations: 1.183 MB / 413.8 MB, free: 5.406 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.226, allocations: 10.28 kB / 413.8 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.2261, allocations: 69.41 kB / 413.8 MB, free: 5.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.2263, allocations: 112.6 kB / 413.9 MB, free: 5.281 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008627/0.2349, allocations: 10.5 MB / 424.4 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.2349, allocations: 18.38 kB / 424.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.869e-05/0.235, allocations: 25.12 kB / 424.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.2354, allocations: 224.5 kB / 424.7 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2354, allocations: 9.219 kB / 424.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.2354, allocations: 9.375 kB / 424.7 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2354, allocations: 11.39 kB / 424.7 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.2357, allocations: 137.1 kB / 424.9 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.2392, allocations: 3.697 MB / 428.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.2396, allocations: 266 kB / 428.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.2397, allocations: 12.11 kB / 428.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2397, allocations: 31.41 kB / 428.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.925e-06/0.2397, allocations: 4 kB / 428.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001619/0.2413, allocations: 1.077 MB / 430 MB, free: 13.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2414, allocations: 59.36 kB / 430 MB, free: 12.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/0.2534, allocations: 13.88 MB / 443.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/0.2535, allocations: 33.7 kB / 443.9 MB, free: 15.02 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/0.2539, allocations: 476.6 kB / 444.4 MB, free: 14.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.033e-05/0.254, allocations: 86.66 kB / 444.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.254, allocations: 8 kB / 444.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2541, allocations: 314 kB / 444.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.2542, allocations: 56.53 kB / 444.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2543, allocations: 114.7 kB / 445 MB, free: 13.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2545, allocations: 76 kB / 445 MB, free: 13.88 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2545, allocations: 0 / 445 MB, free: 13.88 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007077/0.2552, allocations: 383.1 kB / 445.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.2552, allocations: 8 kB / 445.4 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2552, allocations: 0 / 445.4 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003002/0.2555, allocations: 81.67 kB / 445.5 MB, free: 13.4 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.2557, allocations: 48.12 kB / 445.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.2573, allocations: 2.16 MB / 447.7 MB, free: 11.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2576, allocations: 12 kB / 447.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2577, allocations: 12 kB / 447.7 MB, free: 11.01 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 (27): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004244/0.2581, allocations: 369.8 kB / 448.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001268/0.2582, allocations: 110.6 kB / 448.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004008/0.2586, allocations: 299.6 kB / 448.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2586, allocations: 0 / 448.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2586, allocations: 3.984 kB / 448.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2587, allocations: 0 / 448.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.26, allocations: 1.141 MB / 449.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2601, allocations: 4.031 kB / 449.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.2603, allocations: 55.91 kB / 449.7 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2603, allocations: 4 kB / 449.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.2603, allocations: 11.97 kB / 449.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2603, allocations: 0 / 449.7 MB, free: 8.938 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2603, allocations: 4.25 kB / 449.7 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.2608, allocations: 463.3 kB / 450.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.2612, allocations: 275.7 kB / 450.4 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.2613, allocations: 12 kB / 450.4 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.2615, allocations: 15.94 kB / 450.5 MB, free: 8.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.2615, allocations: 11.98 kB / 450.5 MB, free: 8.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2616, allocations: 11.98 kB / 450.5 MB, free: 8.117 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.008629/0.2702, allocations: 11.12 MB / 461.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2702, allocations: 0 / 461.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006492/0.2709, allocations: 112 kB / 461.7 MB, free: 12.88 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.001478/0.2724, allocations: 1.329 MB / 463 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.2729, allocations: 310.5 kB / 463.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2729, allocations: 0 / 463.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.273, allocations: 88.08 kB / 463.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.2737, allocations: 116.5 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03023/0.3039, allocations: 33.1 MB / 496.6 MB, free: 9.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.3046, allocations: 1.086 MB / 497.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.305, allocations: 136.6 kB / 497.9 MB, free: 8.527 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003797/0.3053, allocations: 331.3 kB / 498.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3053, allocations: 0 / 498.2 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03512/0.3405, allocations: 21.98 MB / 0.508 GB, free: 2.523 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.3407, allocations: 289 kB / 0.5082 GB, free: 2.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.153, allocations: 0 / 0.5082 GB, free: 2.152 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: