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.001244/0.001244, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001269/0.001269, allocations: 192 kB / 16.14 MB, free: 6.707 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.382/1.382, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05453/0.05453, allocations: 10.74 MB / 280.1 MB, free: 10.72 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.001457/0.001458, allocations: 64.23 kB / 339.9 MB, free: 23.7 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 49.02 MB / 389 MB, free: 6.617 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002835/0.1044, allocations: 1.685 MB / 390.7 MB, free: 4.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006361/0.1051, allocations: 318.9 kB / 391 MB, free: 4.602 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.1052, allocations: 4 kB / 391 MB, free: 4.598 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.1052, allocations: 3.938 kB / 391 MB, free: 4.594 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.1053, allocations: 19.86 kB / 391 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1056, allocations: 79.86 kB / 391.1 MB, free: 4.496 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1058, allocations: 119.7 kB / 391.2 MB, free: 4.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1059, allocations: 29.55 kB / 391.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.106, allocations: 51.66 kB / 391.3 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.925e-05/0.1061, allocations: 55.69 kB / 391.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.1061, allocations: 8 kB / 391.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.1062, allocations: 35.97 kB / 391.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.1062, allocations: 31.84 kB / 391.4 MB, free: 4.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.1063, allocations: 63.53 kB / 391.5 MB, free: 4.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1065, allocations: 127.8 kB / 391.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1065, allocations: 0 / 391.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1065, allocations: 0 / 391.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1065, allocations: 4 kB / 391.6 MB, free: 3.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006373/0.1072, allocations: 462.2 kB / 392 MB, free: 3.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1072, allocations: 8.031 kB / 392 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1073, allocations: 38.75 kB / 392.1 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1073, allocations: 16.75 kB / 392.1 MB, free: 3.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1076, allocations: 231.8 kB / 392.3 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1076, allocations: 12.36 kB / 392.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.1076, allocations: 8.312 kB / 392.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1079, allocations: 134.5 kB / 392.5 MB, free: 2.973 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.1079, allocations: 3.938 kB / 392.5 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1079, allocations: 4 kB / 392.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1079, allocations: 11.92 kB / 392.5 MB, free: 2.953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.1081, allocations: 51.97 kB / 392.5 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006516/0.1087, allocations: 408.5 kB / 392.9 MB, free: 2.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.109, allocations: 118.6 kB / 393.1 MB, free: 2.328 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1091, allocations: 60.84 kB / 393.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.1091, allocations: 0 / 393.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.1093, allocations: 115.3 kB / 393.2 MB, free: 2.141 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.1094, allocations: 0 / 393.2 MB, free: 2.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004497/0.1098, allocations: 193.4 kB / 393.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.1099, allocations: 166.1 kB / 393.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.1101, allocations: 194.1 kB / 393.8 MB, free: 1.547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.1101, allocations: 33.7 kB / 393.8 MB, free: 1.508 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.043e-05/0.1102, allocations: 120 kB / 393.9 MB, free: 1.387 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1103, allocations: 43.45 kB / 394 MB, free: 1.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.1103, allocations: 37.7 kB / 394 MB, free: 1.301 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1104, allocations: 330.8 kB / 394.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-05/0.1105, allocations: 31.98 kB / 394.4 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1107, allocations: 118.5 kB / 394.5 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.1109, allocations: 137.7 kB / 394.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1109, allocations: 0 / 394.6 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002642/0.1112, allocations: 165.5 kB / 394.8 MB, free: 480 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1112, allocations: 8.031 kB / 394.8 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1112, allocations: 0 / 394.8 MB, free: 472 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1112, allocations: 7.938 kB / 394.8 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.1114, allocations: 35.92 kB / 394.8 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1114, allocations: 4 kB / 394.8 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1115, allocations: 19.83 kB / 394.8 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.1116, allocations: 8 kB / 394.8 MB, free: 396 kB / 286.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.0001193/0.1117, allocations: 132.6 kB / 395 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.1117, allocations: 15.81 kB / 395 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.97e-05/0.1118, allocations: 21.52 kB / 395 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1118, allocations: 7.984 kB / 395 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1118, allocations: 3.984 kB / 395 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1118, allocations: 3.938 kB / 395 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005543/0.1123, allocations: 474.2 kB / 395.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1124, allocations: 0 / 395.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.1125, allocations: 19.94 kB / 395.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1125, allocations: 11.92 kB / 395.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.1125, allocations: 4 kB / 395.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1125, allocations: 0 / 395.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1125, allocations: 4 kB / 395.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/0.113, allocations: 311.2 kB / 395.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.113, allocations: 92.95 kB / 395.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.1131, allocations: 16 kB / 395.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.1132, allocations: 7.984 kB / 396 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.1133, allocations: 11.98 kB / 396 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1133, allocations: 4 kB / 396 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000123/0.1134, allocations: 140.3 kB / 396.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1135, allocations: 4 kB / 396.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1137, allocations: 36 kB / 396.1 MB, free: 15 MB / 302.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.0007683/0.1145, allocations: 0.8691 MB / 397 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002555/0.1148, allocations: 116 kB / 397.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1148, allocations: 448 / 397.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.1149, allocations: 59.92 kB / 397.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1153, allocations: 35.95 kB / 397.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.1177, allocations: 2.085 MB / 399.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.118, allocations: 0.7167 MB / 400 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.961e-05/0.1181, allocations: 25.47 kB / 400 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1182, allocations: 39.42 kB / 400.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1182, allocations: 4 kB / 400.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01494/0.1331, allocations: 3.406 MB / 403.5 MB, free: 7.555 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.1334, allocations: 230.6 kB / 403.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/1.897, allocations: 0 / 403.7 MB, free: 7.305 MB / 302.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)