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.001164/0.001164, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00118/0.00118, allocations: 199 kB / 16.14 MB, free: 6.656 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.256/1.256, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8539/0.8539, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 59.62 kB / 0.5048 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1314, allocations: 80.93 MB / 0.5838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002495/0.1339, allocations: 1.694 MB / 0.5855 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.1347, allocations: 0.5108 MB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.1348, allocations: 3.938 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.1352, allocations: 169.4 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1355, allocations: 152.3 kB / 0.5863 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.1359, allocations: 178 kB / 0.5864 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1361, allocations: 183.5 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1362, allocations: 41.81 kB / 0.5866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.1363, allocations: 75.67 kB / 0.5867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1365, allocations: 147.6 kB / 0.5869 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.1365, allocations: 8 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.234e-05/0.1366, allocations: 27.98 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.1367, allocations: 79.67 kB / 0.587 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.381e-05/0.1368, allocations: 95.28 kB / 0.5871 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.137, allocations: 251 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.137, allocations: 0 / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.41e-07/0.137, allocations: 4 kB / 0.5873 GB, free: 1.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.137, allocations: 4 kB / 0.5873 GB, free: 1.266 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.0006837/0.1377, allocations: 0.5758 MB / 0.5879 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1378, allocations: 12.03 kB / 0.5879 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1378, allocations: 46.61 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.624e-05/0.1378, allocations: 28.56 kB / 0.588 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.1382, allocations: 370.3 kB / 0.5883 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.1383, allocations: 4.375 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1383, allocations: 4.375 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1385, allocations: 77.59 kB / 0.5884 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1385, allocations: 3.938 kB / 0.5884 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1385, allocations: 4 kB / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1385, allocations: 0 / 0.5884 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001796/0.1387, allocations: 47.95 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.1391, allocations: 432.5 kB / 0.5889 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1393, allocations: 50.55 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/0.1394, allocations: 28.89 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1394, allocations: 0 / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1395, allocations: 42.56 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1395, allocations: 0 / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003567/0.1398, allocations: 117.3 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1399, allocations: 55.41 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.1404, allocations: 0.5093 MB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.1404, allocations: 25.7 kB / 0.5897 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1405, allocations: 172 kB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1405, allocations: 11.84 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1406, allocations: 13.72 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1407, allocations: 342.8 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.1408, allocations: 19.98 kB / 0.5902 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.1409, allocations: 19.98 kB / 0.5902 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.141, allocations: 44.81 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.141, allocations: 0 / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002119/0.1412, allocations: 101.5 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1413, allocations: 8 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1413, allocations: 48 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1413, allocations: 3.984 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.1414, allocations: 11.98 kB / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1414, allocations: 0 / 0.5904 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.781e-05/0.1415, allocations: 15.92 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.1415, allocations: 3.938 kB / 0.5904 GB, free: 13.88 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.0001263/0.1416, allocations: 170.3 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1417, allocations: 27.62 kB / 0.5906 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.1419, allocations: 116 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1419, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1419, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.142, allocations: 7.938 kB / 0.5907 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1422, allocations: 261.5 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1422, allocations: 4 kB / 0.591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1423, allocations: 11.98 kB / 0.591 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.1423, allocations: 4 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1423, allocations: 0 / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1423, allocations: 0 / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1423, allocations: 0 / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.1425, allocations: 199.1 kB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.1426, allocations: 108.8 kB / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.1427, allocations: 0 / 0.5913 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1428, allocations: 7.984 kB / 0.5913 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.1428, allocations: 11.88 kB / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1428, allocations: 0 / 0.5913 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003523/0.1432, allocations: 387.1 kB / 0.5917 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1432, allocations: 4 kB / 0.5917 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002383/0.1434, allocations: 20 kB / 0.5917 GB, free: 12.46 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.001084/0.1445, allocations: 0.9756 MB / 0.5926 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1447, allocations: 43.89 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1447, allocations: 4 kB / 0.5927 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.1448, allocations: 27.97 kB / 0.5927 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1452, allocations: 47.28 kB / 0.5927 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.1481, allocations: 2.636 MB / 0.5953 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.1484, allocations: 0.7751 MB / 0.5961 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.659e-05/0.1485, allocations: 37.92 kB / 0.5961 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.1487, allocations: 87.41 kB / 0.5962 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1487, allocations: 3.938 kB / 0.5962 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3219/0.4706, allocations: 4.702 MB / 0.6008 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003228/0.4709, allocations: 219.4 kB / 0.601 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.147, allocations: 11.88 kB / 0.601 GB, free: 2.984 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)