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.001328/0.001329, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06516/0.06516, allocations: 10.65 MB / 18.73 MB, free: 1.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.3 MB / 226.9 MB, free: 7.887 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00104/0.00104, allocations: 94.42 kB / 277.3 MB, free: 5.426 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.393e-05, allocations: 0 / 333.6 MB, free: 28.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 49.99 MB / 383.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.503/0.6324, allocations: 77.03 MB / 460.7 MB, free: 7.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.6327, allocations: 74.45 kB / 460.7 MB, free: 7.246 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01083/0.6436, allocations: 4.013 MB / 464.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6436, allocations: 0 / 464.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.6436, allocations: 4 kB / 464.7 MB, free: 3.891 MB / 330.7 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.0005455/0.6442, allocations: 423.9 kB / 465.2 MB, free: 3.441 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.6442, allocations: 15.97 kB / 465.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.6443, allocations: 15.86 kB / 465.2 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.6446, allocations: 227.4 kB / 465.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.6446, allocations: 0 / 465.4 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.6447, allocations: 8 kB / 465.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.6448, allocations: 41.86 kB / 465.5 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.645, allocations: 118.7 kB / 465.6 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.645, allocations: 0 / 465.6 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.645, allocations: 0 / 465.6 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.645, allocations: 4 kB / 465.6 MB, free: 3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.6457, allocations: 384.2 kB / 466 MB, free: 2.629 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.6459, allocations: 101.1 kB / 466.1 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.034e-05/0.646, allocations: 56.45 kB / 466.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.646, allocations: 0 / 466.1 MB, free: 2.512 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.6462, allocations: 103.8 kB / 466.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.6462, allocations: 0 / 466.2 MB, free: 2.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004765/0.6467, allocations: 188.7 kB / 466.4 MB, free: 2.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.6468, allocations: 158.2 kB / 466.5 MB, free: 2.062 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.647, allocations: 167.5 kB / 466.7 MB, free: 1.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.647, allocations: 25.7 kB / 466.7 MB, free: 1.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.6471, allocations: 123.3 kB / 466.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.6471, allocations: 42.27 kB / 466.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-06/0.6472, allocations: 0 / 466.9 MB, free: 1.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6473, allocations: 329.6 kB / 467.2 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.6474, allocations: 26.94 kB / 467.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.6475, allocations: 100.9 kB / 467.3 MB, free: 1.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.43e-05/0.6475, allocations: 36.27 kB / 467.4 MB, free: 1.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6475, allocations: 0 / 467.4 MB, free: 1.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002116/0.6478, allocations: 150.9 kB / 467.5 MB, free: 1.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.6478, allocations: 6.656 kB / 467.5 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6478, allocations: 0 / 467.5 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.6478, allocations: 4 kB / 467.5 MB, free: 1.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.648, allocations: 39.38 kB / 467.6 MB, free: 1.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.648, allocations: 4 kB / 467.6 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.6482, allocations: 15.89 kB / 467.6 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.6482, allocations: 4 kB / 467.6 MB, free: 1.059 MB / 330.7 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.0001017/0.6483, allocations: 117.2 kB / 467.7 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003444/0.6487, allocations: 185.6 kB / 467.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.6487, allocations: 19.75 kB / 467.9 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.246e-05/0.6488, allocations: 21.17 kB / 467.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6488, allocations: 0 / 467.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.6488, allocations: 4 kB / 467.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.6488, allocations: 7.984 kB / 467.9 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005617/0.6494, allocations: 449.4 kB / 468.4 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6494, allocations: 0 / 468.4 MB, free: 308 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.6495, allocations: 27.73 kB / 468.4 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6495, allocations: 3.953 kB / 468.4 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.6495, allocations: 0 / 468.4 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6495, allocations: 0 / 468.4 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6495, allocations: 4 kB / 468.4 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.65, allocations: 332.1 kB / 468.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.6501, allocations: 88.95 kB / 468.8 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.6501, allocations: 11.58 kB / 468.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.6503, allocations: 7.938 kB / 468.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.6504, allocations: 7.984 kB / 468.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.6504, allocations: 4 kB / 468.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.6505, allocations: 136.6 kB / 469 MB, free: 15.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6505, allocations: 0 / 469 MB, free: 15.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.6508, allocations: 35.94 kB / 469 MB, free: 15.7 MB / 346.7 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.0007976/0.6516, allocations: 0.8761 MB / 469.9 MB, free: 14.85 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.6518, allocations: 87.8 kB / 470 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.6518, allocations: 4 kB / 470 MB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.6519, allocations: 44.5 kB / 470 MB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.6521, allocations: 33.5 kB / 470.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008131/0.653, allocations: 274.9 kB / 470.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.6533, allocations: 0.7204 MB / 471.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.6534, allocations: 25.78 kB / 471.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.6535, allocations: 45.17 kB / 471.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6535, allocations: 0 / 471.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.6768, allocations: 2.83 MB / 474 MB, free: 10.83 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.6771, allocations: 169.5 kB / 474.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.374, allocations: 0 / 474.1 MB, free: 10.64 MB / 346.7 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)