Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",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.007322/0.007321, allocations: 102 kB / 15.73 MB, free: 6.051 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.001343/0.001343, allocations: 195 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 222.6 MB, free: 4.371 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0592/0.0592, allocations: 10.75 MB / 280.7 MB, free: 10.27 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 71.89 kB / 390.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.322, allocations: 49 MB / 439.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.003303/0.3254, allocations: 1.638 MB / 441 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006765/0.3261, allocations: 313.5 kB / 441.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.915e-05/0.3262, allocations: 0.6875 kB / 441.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.3262, allocations: 13.69 kB / 441.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3264, allocations: 20.22 kB / 441.3 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.3268, allocations: 95.52 kB / 441.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.327, allocations: 129 kB / 441.5 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3272, allocations: 19.14 kB / 441.6 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.3272, allocations: 55.11 kB / 441.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3274, allocations: 67.75 kB / 441.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.3275, allocations: 11.19 kB / 441.7 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.3276, allocations: 41.88 kB / 441.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.54e-05/0.3276, allocations: 36.02 kB / 441.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.504e-05/0.3277, allocations: 64.14 kB / 441.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.3279, allocations: 138.7 kB / 442 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3279, allocations: 0 / 442 MB, free: 3.355 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3279, allocations: 0 / 442 MB, free: 3.355 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3279, allocations: 6.016 kB / 442 MB, free: 3.352 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006167/0.3286, allocations: 455.4 kB / 442.4 MB, free: 2.922 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.3286, allocations: 12.73 kB / 442.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3287, allocations: 39.64 kB / 442.5 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.3287, allocations: 21.86 kB / 442.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3289, allocations: 225.6 kB / 442.7 MB, free: 2.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.329, allocations: 12.92 kB / 442.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.329, allocations: 6.219 kB / 442.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.3293, allocations: 147.9 kB / 442.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3293, allocations: 3.938 kB / 442.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.3293, allocations: 6.328 kB / 442.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3293, allocations: 1.688 kB / 442.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.3295, allocations: 49.83 kB / 442.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.3301, allocations: 411.1 kB / 443.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3303, allocations: 113.7 kB / 443.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.3304, allocations: 59.31 kB / 443.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3304, allocations: 2.344 kB / 443.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002813/0.3307, allocations: 111.2 kB / 443.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.3307, allocations: 5.688 kB / 443.6 MB, free: 2.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004317/0.3312, allocations: 196.7 kB / 443.8 MB, free: 1.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.3313, allocations: 158.4 kB / 444 MB, free: 1.742 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3314, allocations: 186.1 kB / 444.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.3315, allocations: 32.92 kB / 444.2 MB, free: 1.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.3315, allocations: 123 kB / 444.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.3316, allocations: 44.25 kB / 444.3 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.617e-05/0.3316, allocations: 40.09 kB / 444.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.3317, allocations: 332.3 kB / 444.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.024e-05/0.3318, allocations: 32.86 kB / 444.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.3319, allocations: 120 kB / 444.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.3321, allocations: 128.4 kB / 445 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3321, allocations: 0 / 445 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000249/0.3323, allocations: 176.2 kB / 445.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3324, allocations: 5.312 kB / 445.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.3324, allocations: 1.953 kB / 445.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3324, allocations: 6.344 kB / 445.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3326, allocations: 36.27 kB / 445.2 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3326, allocations: 7.438 kB / 445.2 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3327, allocations: 22.09 kB / 445.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3327, allocations: 10.38 kB / 445.2 MB, free: 0.7422 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 7.942e-05/0.3328, allocations: 123.9 kB / 445.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.3329, allocations: 17.08 kB / 445.4 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.3329, allocations: 18.72 kB / 445.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3329, allocations: 9.703 kB / 445.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3329, allocations: 1.469 kB / 445.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3329, allocations: 0.6094 kB / 445.4 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.3334, allocations: 461.2 kB / 445.9 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3334, allocations: 0 / 445.9 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3335, allocations: 23.06 kB / 445.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3335, allocations: 1.375 kB / 445.9 MB, free: 228 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.3335, allocations: 7.453 kB / 445.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3336, allocations: 0.8438 kB / 445.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3336, allocations: 4 kB / 445.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004018/0.334, allocations: 321.6 kB / 446.2 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.3341, allocations: 94.44 kB / 446.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.3341, allocations: 7.297 kB / 446.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3343, allocations: 8.5 kB / 446.3 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.3343, allocations: 15.5 kB / 446.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3343, allocations: 9.781 kB / 446.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.3345, allocations: 140.5 kB / 446.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3345, allocations: 3.938 kB / 446.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3348, allocations: 40.53 kB / 446.5 MB, free: 15.78 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007882/0.3356, allocations: 0.8604 MB / 447.4 MB, free: 15.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.3359, allocations: 115.2 kB / 447.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3359, allocations: 3.938 kB / 447.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.336, allocations: 55.33 kB / 447.6 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.3363, allocations: 32.27 kB / 447.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.3388, allocations: 2.057 MB / 449.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.3391, allocations: 0.7202 MB / 450.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.3392, allocations: 17.39 kB / 450.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.125e-05/0.3393, allocations: 41.75 kB / 450.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3393, allocations: 0 / 450.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.37, allocations: 3.765 MB / 454.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.155, allocations: 5.047 kB / 454.2 MB, free: 10.98 MB / 334.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)