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.0073/0.0073, allocations: 98.06 kB / 15.73 MB, free: 6.012 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.001895/0.001895, allocations: 197 kB / 16.68 MB, free: 5.93 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8503/0.8503, allocations: 135.6 MB / 426.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 70.75 kB / 0.5857 GB, free: 21.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1542, allocations: 81.01 MB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Examples.Table): time 0.002956/0.1572, allocations: 1.651 MB / 0.6664 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009538/0.1582, allocations: 0.5185 MB / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.1583, allocations: 0 / 0.6669 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.1588, allocations: 179.8 kB / 0.6671 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.1592, allocations: 154.1 kB / 0.6673 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.1596, allocations: 200 kB / 0.6674 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.1599, allocations: 195.5 kB / 0.6676 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.16, allocations: 41.75 kB / 0.6677 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1601, allocations: 83.66 kB / 0.6678 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1603, allocations: 159.6 kB / 0.6679 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.1604, allocations: 12 kB / 0.6679 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-05/0.1605, allocations: 47.92 kB / 0.668 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1606, allocations: 83.69 kB / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.963e-05/0.1607, allocations: 95.28 kB / 0.6681 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/0.161, allocations: 254.9 kB / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1611, allocations: 0 / 0.6684 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1611, allocations: 4 kB / 0.6684 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1611, allocations: 0 / 0.6684 GB, free: 1.992 MB / 0.4981 GB 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.0008349/0.1619, allocations: 0.6067 MB / 0.669 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.162, allocations: 13.11 kB / 0.669 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.162, allocations: 30.75 kB / 0.669 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.609e-05/0.1621, allocations: 28.75 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.1625, allocations: 370.7 kB / 0.6694 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1626, allocations: 8.375 kB / 0.6694 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.1626, allocations: 384 / 0.6694 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.1628, allocations: 81.53 kB / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1628, allocations: 0 / 0.6695 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.1628, allocations: 4 kB / 0.6695 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1628, allocations: 0 / 0.6695 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.163, allocations: 51.95 kB / 0.6695 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.1636, allocations: 428.6 kB / 0.6699 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1638, allocations: 50.55 kB / 0.67 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.784e-05/0.1639, allocations: 24.91 kB / 0.67 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1639, allocations: 0 / 0.67 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.1639, allocations: 42.53 kB / 0.6701 GB, free: 104 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1639, allocations: 0 / 0.6701 GB, free: 104 kB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004179/0.1644, allocations: 121.6 kB / 0.6702 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1644, allocations: 51.41 kB / 0.6702 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.165, allocations: 0.5132 MB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.165, allocations: 25.7 kB / 0.6707 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.1652, allocations: 176 kB / 0.6709 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.1652, allocations: 3.953 kB / 0.6709 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1652, allocations: 13.72 kB / 0.6709 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1654, allocations: 338.8 kB / 0.6713 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1655, allocations: 27.97 kB / 0.6713 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.915e-05/0.1656, allocations: 24.02 kB / 0.6713 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.1658, allocations: 48.77 kB / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1658, allocations: 0 / 0.6713 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002621/0.1661, allocations: 101.4 kB / 0.6714 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1661, allocations: 12 kB / 0.6715 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1661, allocations: 0 / 0.6715 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1662, allocations: 0 / 0.6715 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1663, allocations: 12 kB / 0.6715 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.1663, allocations: 3.984 kB / 0.6715 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.1664, allocations: 11.89 kB / 0.6715 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.1664, allocations: 0 / 0.6715 GB, free: 14.58 MB / 0.5137 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.0001643/0.1666, allocations: 173.7 kB / 0.6716 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.1666, allocations: 35.75 kB / 0.6717 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.1669, allocations: 108.1 kB / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.167, allocations: 0 / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.167, allocations: 0 / 0.6718 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.167, allocations: 7.922 kB / 0.6718 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.1673, allocations: 257.5 kB / 0.672 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1673, allocations: 0 / 0.672 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.1674, allocations: 8 kB / 0.672 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1674, allocations: 3.984 kB / 0.6721 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.1674, allocations: 8 kB / 0.6721 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1674, allocations: 0 / 0.6721 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1674, allocations: 0 / 0.6721 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003006/0.1677, allocations: 199.1 kB / 0.6722 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.551e-05/0.1678, allocations: 116.9 kB / 0.6724 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.1678, allocations: 0 / 0.6724 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.168, allocations: 8 kB / 0.6724 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.168, allocations: 7.922 kB / 0.6724 GB, free: 13.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.168, allocations: 8 kB / 0.6724 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004339/0.1685, allocations: 383.1 kB / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1685, allocations: 0 / 0.6727 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000263/0.1687, allocations: 23.94 kB / 0.6728 GB, free: 13.16 MB / 0.5137 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.001764/0.1705, allocations: 0.9769 MB / 0.6737 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1708, allocations: 47.95 kB / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1708, allocations: 0 / 0.6738 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.1709, allocations: 23.98 kB / 0.6738 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1713, allocations: 57.62 kB / 0.6738 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.1746, allocations: 2.607 MB / 0.6764 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.175, allocations: 0.771 MB / 0.6771 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.474e-05/0.1751, allocations: 33.94 kB / 0.6772 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.1752, allocations: 87.39 kB / 0.6773 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of SimCode: time 2.214e-06/0.1752, allocations: 4 kB / 0.6773 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.2329, allocations: 5.014 MB / 0.6822 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.523, allocations: 14.2 kB / 0.6822 GB, free: 3.617 MB / 0.5137 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)