Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Examples.Table,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table",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.00113/0.001131, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001233/0.001233, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8813/0.8813, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 60.06 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1361, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002888/0.139, allocations: 1.691 MB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.1399, allocations: 0.5108 MB / 0.5861 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.14, allocations: 7.938 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.1405, allocations: 173.3 kB / 0.5863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.1409, allocations: 152.3 kB / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004002/0.1413, allocations: 178.5 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1416, allocations: 199.5 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1417, allocations: 33.83 kB / 0.5869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1418, allocations: 83.67 kB / 0.5869 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.142, allocations: 155.6 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.142, allocations: 12 kB / 0.5871 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.114e-05/0.1421, allocations: 39.97 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.1422, allocations: 87.75 kB / 0.5872 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.411e-05/0.1423, allocations: 91.28 kB / 0.5873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002785/0.1426, allocations: 271 kB / 0.5876 GB, free: 1.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1426, allocations: 0 / 0.5876 GB, free: 1.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1426, allocations: 4 kB / 0.5876 GB, free: 1.109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1426, allocations: 0 / 0.5876 GB, free: 1.109 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007138/0.1434, allocations: 0.5758 MB / 0.5881 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1434, allocations: 12.03 kB / 0.5881 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.1435, allocations: 34.73 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.1435, allocations: 28.56 kB / 0.5882 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.1439, allocations: 378.3 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.144, allocations: 8.422 kB / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.144, allocations: 384 / 0.5886 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1442, allocations: 77.55 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.1442, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1442, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1442, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.1444, allocations: 59.88 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.1449, allocations: 428.5 kB / 0.5891 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.145, allocations: 50.58 kB / 0.5892 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.1451, allocations: 32.89 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.1452, allocations: 3.984 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1452, allocations: 38.56 kB / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1452, allocations: 0 / 0.5892 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003656/0.1456, allocations: 109.3 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.1456, allocations: 59.34 kB / 0.5894 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.1461, allocations: 0.5171 MB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1462, allocations: 25.7 kB / 0.5899 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.1463, allocations: 168 kB / 0.5901 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.1463, allocations: 11.78 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1463, allocations: 17.7 kB / 0.5901 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1464, allocations: 342.8 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.1465, allocations: 19.98 kB / 0.5905 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/0.1466, allocations: 23.98 kB / 0.5905 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1468, allocations: 44.81 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1468, allocations: 0 / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002252/0.147, allocations: 97.28 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.147, allocations: 8 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.147, allocations: 0 / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1471, allocations: 4 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.1471, allocations: 15.92 kB / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1472, allocations: 0 / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.1472, allocations: 11.92 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.1472, allocations: 3.938 kB / 0.5907 GB, free: 13.72 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001233/0.1474, allocations: 166.3 kB / 0.5908 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.1474, allocations: 27.62 kB / 0.5908 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.1477, allocations: 116.1 kB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1477, allocations: 0 / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1477, allocations: 0 / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1477, allocations: 3.938 kB / 0.591 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.148, allocations: 261.5 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.148, allocations: 0 / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.1481, allocations: 7.984 kB / 0.5912 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1481, allocations: 7.938 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1481, allocations: 0 / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1481, allocations: 0 / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1481, allocations: 4 kB / 0.5912 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1484, allocations: 199.4 kB / 0.5914 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.095e-05/0.1484, allocations: 104.8 kB / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1485, allocations: 48 / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.1486, allocations: 11.97 kB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1486, allocations: 15.94 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1486, allocations: 0 / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003512/0.149, allocations: 383.1 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.149, allocations: 0 / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002552/0.1493, allocations: 27.98 kB / 0.5919 GB, free: 12.31 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001128/0.1504, allocations: 0.9749 MB / 0.5929 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1506, allocations: 51.95 kB / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1506, allocations: 0 / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.1507, allocations: 23.92 kB / 0.593 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1511, allocations: 50.06 kB / 0.593 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.154, allocations: 2.645 MB / 0.5956 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.1543, allocations: 0.771 MB / 0.5963 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.747e-05/0.1544, allocations: 41.92 kB / 0.5964 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1546, allocations: 83.41 kB / 0.5965 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1546, allocations: 0 / 0.5965 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.528/0.6826, allocations: 4.802 MB / 0.6011 GB, free: 3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/0.6829, allocations: 223.6 kB / 0.6014 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/2.951, allocations: 0 / 0.6014 GB, free: 2.746 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Examples_Table.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Examples.Table.pipe 2>&1)