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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06969/0.06969, allocations: 10.66 MB / 23.92 MB, free: 1.375 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.2 MB / 232.1 MB, free: 12.77 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009052/0.0009054, allocations: 90.45 kB / 282.6 MB, free: 13.57 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.183e-05, allocations: 0 / 340.6 MB, free: 3.52 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3028, allocations: 49.98 MB / 390.6 MB, free: 35.73 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09964/0.4025, allocations: 77.39 MB / 467.9 MB, free: 6.242 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4028, allocations: 71.95 kB / 468 MB, free: 6.172 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01123/0.414, allocations: 4.043 MB / 472.1 MB, free: 2.121 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4141, allocations: 0 / 472.1 MB, free: 2.121 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.4141, allocations: 0 / 472.1 MB, free: 2.121 MB / 346.8 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.0005615/0.4147, allocations: 422.1 kB / 472.5 MB, free: 1.664 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4148, allocations: 12.02 kB / 472.5 MB, free: 1.652 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.384e-05/0.4148, allocations: 42.56 kB / 472.5 MB, free: 1.602 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.4149, allocations: 19.77 kB / 472.5 MB, free: 1.582 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.4151, allocations: 226.6 kB / 472.8 MB, free: 1.32 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4152, allocations: 8 kB / 472.8 MB, free: 1.312 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.4152, allocations: 4 kB / 472.8 MB, free: 1.309 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.4154, allocations: 126 kB / 472.9 MB, free: 1.164 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4155, allocations: 0 / 472.9 MB, free: 1.164 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.4155, allocations: 7.984 kB / 472.9 MB, free: 1.156 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.4155, allocations: 7.938 kB / 472.9 MB, free: 1.148 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.4156, allocations: 47.89 kB / 473 MB, free: 1.102 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.4163, allocations: 412.6 kB / 473.4 MB, free: 0.6484 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.4165, allocations: 107.9 kB / 473.5 MB, free: 0.5352 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.944e-05/0.4166, allocations: 56.86 kB / 473.5 MB, free: 488 kB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.4166, allocations: 0 / 473.5 MB, free: 488 kB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.4168, allocations: 107.8 kB / 473.6 MB, free: 368 kB / 346.8 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4169, allocations: 7.938 kB / 473.6 MB, free: 360 kB / 346.8 MB Notification: Performance of matching and sorting (n=14): time 0.0003227/0.4172, allocations: 150.9 kB / 473.8 MB, free: 204 kB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.4173, allocations: 162.2 kB / 473.9 MB, free: 4 kB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.4175, allocations: 169.4 kB / 474.1 MB, free: 15.83 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4175, allocations: 33.7 kB / 474.1 MB, free: 15.79 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.98e-05/0.4176, allocations: 124 kB / 474.3 MB, free: 15.67 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/0.4177, allocations: 39.44 kB / 474.3 MB, free: 15.63 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.4177, allocations: 4 kB / 474.3 MB, free: 15.62 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4178, allocations: 334.8 kB / 474.6 MB, free: 15.29 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.4179, allocations: 28.38 kB / 474.7 MB, free: 15.26 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.418, allocations: 100.5 kB / 474.8 MB, free: 15.13 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.055e-05/0.4181, allocations: 50.17 kB / 474.8 MB, free: 15.08 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4181, allocations: 0 / 474.8 MB, free: 15.08 MB / 362.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000225/0.4183, allocations: 157.3 kB / 475 MB, free: 14.92 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.4184, allocations: 12.14 kB / 475 MB, free: 14.91 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4184, allocations: 4 kB / 475 MB, free: 14.91 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4184, allocations: 4 kB / 475 MB, free: 14.9 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4186, allocations: 31.92 kB / 475 MB, free: 14.87 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.4186, allocations: 4 kB / 475 MB, free: 14.87 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.4188, allocations: 20.11 kB / 475 MB, free: 14.85 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.4188, allocations: 8 kB / 475 MB, free: 14.84 MB / 362.8 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,$PRE.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.4189, allocations: 129.4 kB / 475.2 MB, free: 14.71 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.4189, allocations: 15.81 kB / 475.2 MB, free: 14.69 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.419, allocations: 25.59 kB / 475.2 MB, free: 14.67 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.419, allocations: 0 / 475.2 MB, free: 14.67 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.419, allocations: 0 / 475.2 MB, free: 14.67 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.419, allocations: 0 / 475.2 MB, free: 14.67 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.4195, allocations: 446.4 kB / 475.6 MB, free: 14.18 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4195, allocations: 3.984 kB / 475.7 MB, free: 14.17 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.4197, allocations: 20 kB / 475.7 MB, free: 14.15 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4197, allocations: 3.953 kB / 475.7 MB, free: 14.15 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.4197, allocations: 11.98 kB / 475.7 MB, free: 14.14 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4197, allocations: 4 kB / 475.7 MB, free: 14.13 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4197, allocations: 0 / 475.7 MB, free: 14.13 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.4201, allocations: 298 kB / 476 MB, free: 13.83 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.4202, allocations: 92.89 kB / 476.1 MB, free: 13.72 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.4202, allocations: 11.95 kB / 476.1 MB, free: 13.71 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.4204, allocations: 20.05 kB / 476.1 MB, free: 13.69 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.284e-05/0.4204, allocations: 7.984 kB / 476.1 MB, free: 13.68 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4205, allocations: 4 kB / 476.1 MB, free: 13.68 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001292/0.4206, allocations: 140.3 kB / 476.3 MB, free: 13.54 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4206, allocations: 0 / 476.3 MB, free: 13.54 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002757/0.4209, allocations: 43.94 kB / 476.3 MB, free: 13.5 MB / 362.8 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) * 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 (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.0007185/0.4216, allocations: 0.8547 MB / 477.1 MB, free: 12.62 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.4218, allocations: 91.94 kB / 477.2 MB, free: 12.53 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4218, allocations: 0 / 477.2 MB, free: 12.53 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 8.614e-05/0.4219, allocations: 51.94 kB / 477.3 MB, free: 12.48 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.4222, allocations: 32.11 kB / 477.3 MB, free: 12.45 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008503/0.423, allocations: 299 kB / 477.6 MB, free: 12.12 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.4234, allocations: 0.7168 MB / 478.3 MB, free: 11.38 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.4235, allocations: 21.55 kB / 478.4 MB, free: 11.35 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.864e-05/0.4235, allocations: 39.42 kB / 478.4 MB, free: 11.31 MB / 362.8 MB Notification: Performance of SimCode: time 3.4e-07/0.4235, allocations: 0 / 478.4 MB, free: 11.31 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.4382, allocations: 3.234 MB / 481.6 MB, free: 8.164 MB / 362.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.4385, allocations: 179.6 kB / 481.8 MB, free: 7.941 MB / 362.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.16, allocations: 7.656 kB / 481.8 MB, free: 7.938 MB / 362.8 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/linux/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)