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.0008087/0.0008088, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008446/0.0008447, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05372/0.05372, allocations: 10.74 MB / 281.1 MB, free: 10.79 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.0004678/0.0004679, allocations: 12 kB / 341.7 MB, free: 23.76 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06937/0.06985, allocations: 50.01 MB / 391.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001556/0.07145, allocations: 1.304 MB / 393 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.07202, allocations: 307.1 kB / 393.3 MB, free: 4.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.07209, allocations: 4 kB / 393.3 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.07212, allocations: 7.938 kB / 393.3 MB, free: 4.059 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.608e-05/0.07222, allocations: 15.8 kB / 393.4 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.07253, allocations: 71.88 kB / 393.4 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.07269, allocations: 103.7 kB / 393.5 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.0728, allocations: 29.53 kB / 393.6 MB, free: 3.844 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.07286, allocations: 43.78 kB / 393.6 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.07295, allocations: 55.69 kB / 393.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.07298, allocations: 8 kB / 393.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.07306, allocations: 35.97 kB / 393.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.49e-05/0.07309, allocations: 19.86 kB / 393.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.07314, allocations: 45.64 kB / 393.8 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.07327, allocations: 96.08 kB / 393.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.07329, allocations: 7.938 kB / 393.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.07329, allocations: 0 / 393.9 MB, free: 3.531 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.07331, allocations: 4 kB / 393.9 MB, free: 3.527 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.0005483/0.07386, allocations: 426.2 kB / 394.3 MB, free: 3.066 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.0739, allocations: 15.95 kB / 394.3 MB, free: 3.051 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.07395, allocations: 38.56 kB / 394.3 MB, free: 3.004 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.074, allocations: 19.77 kB / 394.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.07422, allocations: 226.7 kB / 394.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.07424, allocations: 4 kB / 394.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.07427, allocations: 12 kB / 394.6 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.0745, allocations: 129.9 kB / 394.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.07452, allocations: 4 kB / 394.7 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.07454, allocations: 4 kB / 394.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.07455, allocations: 0 / 394.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001384/0.0747, allocations: 67.89 kB / 394.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.07529, allocations: 412.5 kB / 395.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.0755, allocations: 114.6 kB / 395.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.07562, allocations: 60.83 kB / 395.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.07564, allocations: 0 / 395.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.07585, allocations: 123.2 kB / 395.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.07586, allocations: 0 / 395.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003874/0.07626, allocations: 209.4 kB / 395.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.07635, allocations: 162.2 kB / 395.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.07652, allocations: 194.1 kB / 396 MB, free: 1.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.07655, allocations: 37.7 kB / 396.1 MB, free: 1.066 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.07662, allocations: 112.1 kB / 396.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.07666, allocations: 51.3 kB / 396.2 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.07668, allocations: 4 kB / 396.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.07677, allocations: 326.8 kB / 396.6 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.07687, allocations: 36.34 kB / 396.6 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.07699, allocations: 118.1 kB / 396.7 MB, free: 392 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.82e-05/0.0771, allocations: 55.94 kB / 396.8 MB, free: 336 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.07711, allocations: 0 / 396.8 MB, free: 336 kB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002715/0.07739, allocations: 165.3 kB / 396.9 MB, free: 164 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.07741, allocations: 7.953 kB / 396.9 MB, free: 156 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.07743, allocations: 4 kB / 396.9 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.07745, allocations: 4.188 kB / 397 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.07759, allocations: 35.92 kB / 397 MB, free: 112 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.07761, allocations: 3.984 kB / 397 MB, free: 108 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.07775, allocations: 19.94 kB / 397 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.07777, allocations: 11.98 kB / 397 MB, free: 76 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,$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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.0779, allocations: 132.7 kB / 397.1 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.07794, allocations: 15.81 kB / 397.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.07799, allocations: 25.48 kB / 397.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.078, allocations: 4 kB / 397.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.07801, allocations: 0 / 397.2 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.07802, allocations: 3.984 kB / 397.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.07853, allocations: 470.3 kB / 397.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.07854, allocations: 0 / 397.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.07865, allocations: 23.98 kB / 397.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.07866, allocations: 3.953 kB / 397.7 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.07868, allocations: 12 kB / 397.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.07869, allocations: 0 / 397.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0787, allocations: 0 / 397.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003974/0.0791, allocations: 323 kB / 398 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.07916, allocations: 88.95 kB / 398.1 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.0792, allocations: 15.94 kB / 398.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.07934, allocations: 4 kB / 398.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.07939, allocations: 11.98 kB / 398.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.07941, allocations: 7.984 kB / 398.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.07951, allocations: 136.3 kB / 398.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07952, allocations: 0 / 398.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.0798, allocations: 44.05 kB / 398.3 MB, free: 14.69 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 (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.0006709/0.08048, allocations: 0.8684 MB / 399.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.08073, allocations: 115.9 kB / 399.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.08075, allocations: 0 / 399.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.08085, allocations: 60.8 kB / 399.4 MB, free: 13.62 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.08117, allocations: 36.09 kB / 399.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.08271, allocations: 0.9674 MB / 400.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.08296, allocations: 0.7089 MB / 401.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.08304, allocations: 25.56 kB / 401.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.08312, allocations: 47.67 kB / 401.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of SimCode: time 1.844e-06/0.08312, allocations: 0 / 401.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0133/0.09643, allocations: 3.263 MB / 404.4 MB, free: 8.586 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.09672, allocations: 228.6 kB / 404.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.737, allocations: 0 / 404.6 MB, free: 8.336 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/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) Environment - environmentSimulation: