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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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(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.004983/0.004983, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001341/0.001341, allocations: 193.6 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06374/0.06374, allocations: 11.21 MB / 301.7 MB, free: 4.031 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 59.42 kB / 417.3 MB, free: 19.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09307, allocations: 51.98 MB / 469.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002665/0.09577, allocations: 1.637 MB / 471 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006303/0.09641, allocations: 318.9 kB / 471.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.09648, allocations: 4 kB / 471.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.45e-05/0.09653, allocations: 11.81 kB / 471.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.09664, allocations: 19.8 kB / 471.3 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.09701, allocations: 91.77 kB / 471.4 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.09721, allocations: 127.7 kB / 471.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.09734, allocations: 21.56 kB / 471.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.09741, allocations: 55.7 kB / 471.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.09752, allocations: 63.67 kB / 471.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.09756, allocations: 15.94 kB / 471.7 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.533e-05/0.09766, allocations: 39.97 kB / 471.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.09774, allocations: 35.86 kB / 471.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.09782, allocations: 63.58 kB / 471.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002285/0.09805, allocations: 143.6 kB / 471.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.09806, allocations: 0 / 471.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09807, allocations: 0 / 471.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.09808, allocations: 0 / 471.9 MB, free: 12.57 MB / 350.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.0006835/0.09877, allocations: 462.6 kB / 472.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.09883, allocations: 15.89 kB / 472.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/0.09888, allocations: 38.73 kB / 472.5 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.09893, allocations: 16.84 kB / 472.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.09919, allocations: 232 kB / 472.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.09921, allocations: 8.375 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.09924, allocations: 8.375 kB / 472.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.09951, allocations: 138.4 kB / 472.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.09953, allocations: 3.938 kB / 472.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.09955, allocations: 4 kB / 472.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.09956, allocations: 4 kB / 472.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.09971, allocations: 47.97 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/0.1004, allocations: 416.5 kB / 473.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.1006, allocations: 114.6 kB / 473.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1008, allocations: 56.83 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.1008, allocations: 4 kB / 473.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002627/0.1011, allocations: 118.7 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.1011, allocations: 0 / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004662/0.1015, allocations: 197.5 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.1017, allocations: 162.2 kB / 474 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1019, allocations: 190.4 kB / 474.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1019, allocations: 29.7 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.102, allocations: 120 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.1021, allocations: 47.77 kB / 474.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-05/0.1021, allocations: 41.7 kB / 474.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1023, allocations: 330.8 kB / 474.7 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.873e-05/0.1024, allocations: 35.98 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.1026, allocations: 118.4 kB / 474.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.1028, allocations: 129.9 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1028, allocations: 0 / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002944/0.1031, allocations: 176 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1031, allocations: 8 kB / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1031, allocations: 192 / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1032, allocations: 11.94 kB / 475.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1033, allocations: 27.98 kB / 475.2 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1033, allocations: 3.938 kB / 475.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1035, allocations: 23.88 kB / 475.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1035, allocations: 11.94 kB / 475.2 MB, free: 8.961 MB / 350.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 0.0001171/0.1036, allocations: 121.8 kB / 475.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1037, allocations: 15.91 kB / 475.4 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1037, allocations: 25.52 kB / 475.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1037, allocations: 3.938 kB / 475.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1037, allocations: 4 kB / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1037, allocations: 0 / 475.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.1043, allocations: 462.3 kB / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1043, allocations: 0 / 475.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1045, allocations: 23.92 kB / 475.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1045, allocations: 3.938 kB / 475.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.1045, allocations: 11.98 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1045, allocations: 4 kB / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1045, allocations: 0 / 475.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004784/0.105, allocations: 307.3 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.1051, allocations: 105 kB / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.1051, allocations: 0 / 476.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1053, allocations: 11.98 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.1053, allocations: 16.05 kB / 476.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1054, allocations: 4 kB / 476.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1055, allocations: 144.3 kB / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1055, allocations: 0 / 476.5 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1058, allocations: 35.94 kB / 476.5 MB, free: 7.582 MB / 350.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.0008208/0.1066, allocations: 0.8636 MB / 477.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.1069, allocations: 115.8 kB / 477.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1069, allocations: 4 kB / 477.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.1071, allocations: 51.98 kB / 477.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1074, allocations: 32.03 kB / 477.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.11, allocations: 2.064 MB / 479.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1104, allocations: 0.7164 MB / 480.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.1104, allocations: 21.58 kB / 480.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.206e-05/0.1105, allocations: 43.42 kB / 480.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1105, allocations: 0 / 480.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.1367, allocations: 3.681 MB / 484.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.423, allocations: 23.42 kB / 484.1 MB, free: 15.96 MB / 366.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)